mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Moved two cleanup statements out of an 'if (debug) {}' block. The TCP version
below seems correct, or at least different (am I fixing the wrong one? :)
This commit is contained in:
parent
3e1248e0f4
commit
134417ea97
1 changed files with 2 additions and 2 deletions
|
|
@ -332,9 +332,9 @@ int send_rpc_query(Target *target_host, unsigned short portno,
|
|||
if (res == -1) {
|
||||
if (o.debugging) {
|
||||
gh_perror("Sendto in %s", __func__);
|
||||
close(udp_rpc_socket);
|
||||
udp_rpc_socket = -1;
|
||||
}
|
||||
close(udp_rpc_socket);
|
||||
udp_rpc_socket = -1;
|
||||
return -1;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue