From: Wez Furlong Date: Sun, 26 Sep 2004 01:10:05 +0000 (+0000) Subject: Finalize fix for #30057 X-Git-Tag: PRE_NEW_VM_GEN_PATCH~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64f3120598243fc584739edac58008faf97713ed;p=php Finalize fix for #30057 --- diff --git a/configure.in b/configure.in index 53fb324f0b..9ef5fdbae0 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); }