Software /
code /
prosody
Changeset
7888:74187ee6ed55
util.ringbuffer: Remove address of buffer itself from __tostring since is now in the same struct
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 12 Feb 2017 15:51:32 +0100 |
parents | 7886:679746cdf3cc |
children | 7889:b8d694646597 |
files | util-src/ringbuffer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/ringbuffer.c Fri Feb 10 21:25:12 2017 +0100 +++ b/util-src/ringbuffer.c Sun Feb 12 15:51:32 2017 +0100 @@ -139,7 +139,7 @@ int rb_tostring(lua_State* L) { ringbuffer* b = luaL_checkudata(L, 1, "ringbuffer_mt"); - lua_pushfstring(L, "ringbuffer: %p->%p %d/%d", b, b->buffer, b->blen, b->alen); + lua_pushfstring(L, "ringbuffer: %p %d/%d", b, b->blen, b->alen); return 1; }