mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
merge soc07 r5233 - Changed perror()s with hardcoded function names to Nmap's gh_perror() and __func__, changed perror()s followed by exit()s to Nmap's pfatal(), and removed newlines from perror()s because it breaks the line after that and before the colon and error string, which doesn't make sense
This commit is contained in:
parent
7aede51c1d
commit
03b4dc0ec5
5 changed files with 12 additions and 16 deletions
|
|
@ -3105,7 +3105,7 @@ int send_closedudp_probe_2(struct udpprobeinfo &upi, int sd,
|
|||
|
||||
if ((res = send_ip_packet(sd, eth, packet, ntohs(ip->ip_len))) == -1)
|
||||
{
|
||||
perror("send_ip_packet in send_closedupd_probe_2");
|
||||
gh_perror("send_ip_packet in %s", __func__);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue