aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 97f12bce2d..5b7d0db8ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2005-06-25 Not Zed <NotZed@Ximian.com>
+ * configure.in: remove need to define NULL in getaddrinfo check.
+
+2005-06-25 Not Zed <NotZed@Ximian.com>
+
* configure.in: move prefer-plain and save-attachments to
experimental where they belong.
diff --git a/configure.in b/configure.in
index e4c3fff76f..79e60e0648 100644
--- a/configure.in
+++ b/configure.in
@@ -455,8 +455,8 @@ AC_CACHE_CHECK([if system supports getaddrinfo and getnameinfo], have_addrinfo,
char host[NI_MAXHOST];
char serv[NI_MAXSERV];
- getaddrinfo ("www.ximian.com", NULL, &hints, &res);
- freeaddrinfo (res);
+ getaddrinfo("www.ximian.com", 0, &hints, &res);
+ freeaddrinfo(res);
getnameinfo((struct sockaddr *)&sin6, sizeof(sin6), host, sizeof(host), serv, sizeof(serv), 0);
],[
have_addrinfo=yes