summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-09-26 01:10:05 (GMT)
committerWez Furlong <wez@php.net>2004-09-26 01:10:05 (GMT)
commit64f3120598243fc584739edac58008faf97713ed (patch)
tree5e5403f19ea2d2365b4438c8ef7d315af7a80109
parent10dd36d959e3bad1d9a52e94af5784171cd41c2b (diff)
downloadphp-64f3120598243fc584739edac58008faf97713ed.tar.gz
Finalize fix for #30057
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 53fb324..9ef5fdb 100644
--- a/configure.in
+++ b/configure.in
@@ -578,11 +578,11 @@ int main(void) {
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_NUMERICHOST;
- if (getaddrinfo("127.0.0.1", NULL, &hints, &ai) < 0) {
+ if (getaddrinfo("127.0.0.1", 0, &hints, &ai) < 0) {
exit(1);
}
- if (ai == NULL) {
+ if (ai == 0) {
exit(1);
}