aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-06-25 01:46:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-06-25 01:46:46 +0800
commit1bdd067eeffc40897af2b9b3116497717519cb7b (patch)
tree9e04561d046f50a9a09758d2600f4131054ba35b
parent9066b42dddc33e74a7aacb4e44125f148785280d (diff)
downloadgsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.tar
gsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.tar.gz
gsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.tar.bz2
gsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.tar.lz
gsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.tar.xz
gsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.tar.zst
gsoc2013-evolution-1bdd067eeffc40897af2b9b3116497717519cb7b.zip
remove need to define NULL in getaddrinfo check.
2005-06-25 Not Zed <NotZed@Ximian.com> * configure.in: remove need to define NULL in getaddrinfo check. svn path=/trunk/; revision=29583
-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