summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-01 18:30:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:05 -0500
commit82a549770e0743850fb81e00ec6a869c7c73a2fb (patch)
treeac82250303da43115396bcc4217cec84f650d535 /source3
parentb2e8ed64cc58645d9bda829ac963eb2c826ddfb5 (diff)
downloadsamba-82a549770e0743850fb81e00ec6a869c7c73a2fb.tar.gz
samba-82a549770e0743850fb81e00ec6a869c7c73a2fb.tar.bz2
samba-82a549770e0743850fb81e00ec6a869c7c73a2fb.zip
r25445: Fix IPV6 detection.
Jeremy. (This used to be commit ab2e190859f2cc64c989f0d10195bfff3db12651)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 2e1b7c7446..561d4c6e0e 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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);
}