From 2cc2ca05c277ccc4e23b4f00a17d66e913ae7e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E9=A3=8E?= Date: Wed, 5 Sep 2012 12:14:40 +0800 Subject: [PATCH] bugfix: pop __remote nil --- lualib-src/lua-seri.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lualib-src/lua-seri.c b/lualib-src/lua-seri.c index d6aeb2c8..86924ba8 100644 --- a/lualib-src/lua-seri.c +++ b/lualib-src/lua-seri.c @@ -363,6 +363,7 @@ _pack_one(lua_State *L, struct write_block *b, int index, int depth) { lua_pop(L,1); wb_integer(b, handle, TYPE_REMOTE); } else { + lua_pop(L,1); wb_table(L, b, index, depth+1); } break;