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:
@@ -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
4
nbase/configure
vendored
@@ -4705,9 +4705,9 @@ int main(void) {
|
||||
hbuf, 256, NULL, 0,
|
||||
NI_NUMERICHOST);
|
||||
if (error) {
|
||||
exit(1);
|
||||
return 1;
|
||||
} else {
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user