1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-16 11:29:02 +00:00

Don't use exit in APR_CHECK_WORKING_GETNAMEINFO.

Same reason as r29737.

http://seclists.org/nmap-dev/2012/q3/777
This commit is contained in:
david
2012-09-12 04:23:23 +00:00
parent b5b558f162
commit 2c092db698
2 changed files with 4 additions and 4 deletions

View File

@@ -97,9 +97,9 @@ int main(void) {
hbuf, 256, NULL, 0,
NI_NUMERICHOST);
if (error) {
exit(1);
return 1;
} else {
exit(0);
return 0;
}
}
],[

4
nbase/configure vendored
View File

@@ -4705,9 +4705,9 @@ int main(void) {
hbuf, 256, NULL, 0,
NI_NUMERICHOST);
if (error) {
exit(1);
return 1;
} else {
exit(0);
return 0;
}
}