1
0
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:
batrick
2008-08-05 09:29:15 +00:00
parent 796dd919ff
commit 6bfd95743f

View File

@@ -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);