diff options
author | Kim Alvefur <zash@zash.se> | 2017-02-12 15:51:32 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-02-12 15:51:32 +0100 |
commit | 233b8f217e596e790fcd9540dd0b9134449eb851 (patch) | |
tree | 1b4ab0c2121df0af3e155153f651295d89729038 /util-src | |
parent | 380b4987ad06be51a223ab85f0a24ef567538352 (diff) | |
download | prosody-233b8f217e596e790fcd9540dd0b9134449eb851.tar.gz prosody-233b8f217e596e790fcd9540dd0b9134449eb851.zip |
util.ringbuffer: Remove address of buffer itself from __tostring since is now in the same struct
Diffstat (limited to 'util-src')
-rw-r--r-- | util-src/ringbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/ringbuffer.c b/util-src/ringbuffer.c index 73a8616b..640dc648 100644 --- a/util-src/ringbuffer.c +++ b/util-src/ringbuffer.c @@ -139,7 +139,7 @@ int rb_write(lua_State* L) { 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; } |