mirror of
https://github.com/nmap/nmap.git
synced 2026-10-22 03:41:32 +00:00
Return 1 on success to (try to) improve consistency.
This commit is contained in:
parent
af65c7448f
commit
21327ee56c
1 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ int nsock_proxychain_new(const char *proxystr, nsock_proxychain *chain, nsock_po
|
|||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void nsock_proxychain_delete(nsock_proxychain chain) {
|
||||
|
|
@ -150,7 +150,7 @@ int nsp_set_proxychain(nsock_pool nspool, nsock_proxychain chain) {
|
|||
}
|
||||
|
||||
nsp->px_chain = (struct proxy_chain *)chain;
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue