aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index f84383ce..49717a93 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.44 2000/09/25 16:22:42 roberto Exp roberto $ 2** $Id: ltests.c,v 1.45 2000/09/29 12:42:13 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -166,8 +166,7 @@ static int mem_query (lua_State *L) {
166 lua_pushnumber(L, memdebug_total); 166 lua_pushnumber(L, memdebug_total);
167 lua_pushnumber(L, memdebug_numblocks); 167 lua_pushnumber(L, memdebug_numblocks);
168 lua_pushnumber(L, memdebug_maxmem); 168 lua_pushnumber(L, memdebug_maxmem);
169lua_pushnumber(L, L->nblocks); 169 return 3;
170 return 4;
171 } 170 }
172 else { 171 else {
173 memdebug_memlimit = luaL_check_int(L, 1); 172 memdebug_memlimit = luaL_check_int(L, 1);