aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 7865e0c8..b05897d7 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.85 2009/07/15 17:26:14 roberto Exp roberto $ 2** $Id: lapi.c,v 2.86 2009/07/15 17:57:03 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -910,7 +910,7 @@ LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
910 api_checknelems(L, 1); 910 api_checknelems(L, 1);
911 o = L->top - 1; 911 o = L->top - 1;
912 if (isLfunction(o)) 912 if (isLfunction(o))
913 status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0); 913 status = luaU_dump(L, getproto(o), writer, data, 0);
914 else 914 else
915 status = 1; 915 status = 1;
916 lua_unlock(L); 916 lua_unlock(L);