mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed a compile error.
This commit is contained in:
parent
ac52d97c25
commit
d34f06ea49
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue