1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Fixed the LUA_GCCOLLECT define.

This commit is contained in:
batrick
2009-03-28 01:08:26 +00:00
parent 794a0778a8
commit 592fa70389

View File

@@ -501,7 +501,7 @@ int process_mainloop(lua_State *L) {
}
// Run the garbage collecter. FIXME: This can error in a __gc metamethod
lua_gc(L, LUA_GC_COLLECT, 0);
lua_gc(L, LUA_GCCOLLECT, 0);
while (!running_scripts.empty()) {
current = *(running_scripts.begin());