mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 19:39:07 +00:00
Fixed an incorrect number of arguments being passed to a vararg error function.
This commit is contained in:
@@ -519,7 +519,7 @@ static int entry (lua_State *L)
|
||||
|
||||
if (nse_fetchfile(script_path, sizeof(script_path),
|
||||
lua_tostring(L, 3)) != 1)
|
||||
luaL_error(L, "%s: %s is not a file!", lua_tostring(L, 3));
|
||||
luaL_error(L, "%s is not a file!", lua_tostring(L, 3));
|
||||
|
||||
lua_pushvalue(L, 3); // filename
|
||||
lua_pushboolean(L, true);
|
||||
|
||||
Reference in New Issue
Block a user