1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 05:31:31 +00:00

Removed a superfluous nsock_set_proxychain() statement.

This call got duplicated during the merge and provoked
non-fatal nsock errors like:

NSOCK ERROR [0.0310s] nsp_set_proxychain(): Invalid call. Existing proxychain on this nsock_pool
This commit is contained in:
henri
2013-04-30 07:12:03 +00:00
parent 151657012d
commit 4685d44ff8

View File

@@ -92,10 +92,6 @@ static nsock_pool new_pool (lua_State *L)
nsp_setbroadcast(nsp, true);
if (o.proxy_chain) {
nsp_set_proxychain(nsp, o.proxy_chain);
}
nspp = (nsock_pool *) lua_newuserdata(L, sizeof(nsock_pool));
*nspp = nsp;
lua_newtable(L);