From c3cc4de3fd94732b5c774b513c1a3159f2eff429 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 1 Sep 2005 14:42:22 -0300 Subject: small bug (zero is not error code) --- lapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lapi.c b/lapi.c index 65812d78..9fa1f057 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 2.46 2005/07/31 17:12:32 roberto Exp roberto $ +** $Id: lapi.c,v 2.47 2005/08/24 16:15:49 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -875,7 +875,7 @@ LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { if (isLfunction(o)) status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0); else - status = 0; + status = 1; lua_unlock(L); return status; } -- cgit v1.2.3-55-g6feb