cvs: php-src / configure.in
| From: | Wez Furlong | Date: | Sun, 26 Sep 2004 01:10:07 +0000 |
| Subject: | cvs: php-src / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28774@lists.php.net to get a copy of this message | ||
wez Sat Sep 25 21:10:07 2004 EDT
Modified files:
/php-src configure.in
Log:
Finalize fix for #30057
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.517&r2=1.518&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.517 php-src/configure.in:1.518
--- php-src/configure.in:1.517 Fri Sep 17 08:44:55 2004
+++ php-src/configure.in Sat Sep 25 21:10:05 2004
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.517 2004/09/17 12:44:55 wez Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.518 2004/09/26 01:10:05 wez Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -578,11 +578,11 @@
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);
}