1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 14:39:03 +00:00

Fixed a compile error.

This commit is contained in:
batrick
2008-06-21 13:33:53 +00:00
parent ac52d97c25
commit d34f06ea49

View File

@@ -276,7 +276,7 @@ int init_lua (lua_State *L)
}
lua_pop(L, 1); // _LOADED
lua_getglobal(L, -1, "debug"); // _LOADED.debug
lua_getglobal(L, "debug"); // _LOADED.debug
lua_getfield(L, -1, "traceback");
lua_pushcclosure(L, error_function, 1);
errfunc = luaL_ref(L, LUA_REGISTRYINDEX);