From 233b8f217e596e790fcd9540dd0b9134449eb851 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 12 Feb 2017 15:51:32 +0100 Subject: util.ringbuffer: Remove address of buffer itself from __tostring since is now in the same struct --- util-src/ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-src/ringbuffer.c') 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; } -- cgit v1.2.3