Fix IPV6 detection.
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 1 Oct 2007 18:30:01 +0000 (18:30 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 1 Oct 2007 18:30:01 +0000 (18:30 +0000)
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25445 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/configure.in

index 2e1b7c744632956d89769da94e408de588cfba36..561d4c6e0e44a9aecc777d96590723d81060ee67 100644 (file)
@@ -3094,8 +3094,8 @@ AC_TRY_COMPILE([
 [
 struct sockaddr_storage sa_store;
 struct addrinfo *ai = NULL;
-int s = socket(AF_INET6, SOCK_STREAM, 0)
-int ret = getaddrinfo(NULL, NULL, NULL &ai);
+int s = socket(AF_INET6, SOCK_STREAM, 0);
+int ret = getaddrinfo(NULL, NULL, NULL, &ai);
 if (ret != 0) {
        const char *es = gai_strerror(ret);
 }