# HG changeset patch # User Matthew Wild # Date 1288992313 0 # Node ID f1de983ff6596b963d3dbe6b5173c5455c7c80d3 # Parent 1927b7b32faf8c0d0c4dc7eded03c322eb5e22cd src/x509.c: Fix compiler warning, return module table diff -r 1927b7b32faf -r f1de983ff659 src/x509.c --- a/src/x509.c Fri Nov 05 20:48:06 2010 +0000 +++ b/src/x509.c Fri Nov 05 21:25:13 2010 +0000 @@ -166,4 +166,7 @@ lua_newtable(L); luaL_register(L, NULL, meta); lua_setfield(L, -2, "__index"); + + lua_newtable(L); + return 1; }