mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +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:
parent
b5b558f162
commit
2c092db698
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue