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:
fyodor 2007-08-11 05:57:54 +00:00
parent 7aede51c1d
commit 03b4dc0ec5
5 changed files with 12 additions and 16 deletions

View file

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