diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-20 13:27:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-20 13:27:28 +0000 |
commit | b8abe89711cc64d40e9d4f364036e04d3a16f619 (patch) | |
tree | de86b798ea5a93561a0382c1dc805446e3941d12 /src/util/service.c | |
parent | 5175505389b7ad8345cee069094b4e459d6d0204 (diff) | |
download | gnunet-b8abe89711cc64d40e9d4f364036e04d3a16f619.tar.gz gnunet-b8abe89711cc64d40e9d4f364036e04d3a16f619.zip |
helping w32
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/service.c b/src/util/service.c index 1e70e3ada..dbbdba0a4 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1024,9 +1024,9 @@ GNUNET_SERVICE_get_server_addresses (const char *serviceName, | |||
1024 | next = pos->ai_next; | 1024 | next = pos->ai_next; |
1025 | if ( (disablev6) && (pos->ai_family == AF_INET6)) | 1025 | if ( (disablev6) && (pos->ai_family == AF_INET6)) |
1026 | continue; | 1026 | continue; |
1027 | if (pos->ai_protocol != IPPROTO_TCP) | 1027 | if ( (pos->ai_protocol != IPPROTO_TCP) && (pos->ai_protocol != 0) ) |
1028 | continue; /* not TCP */ | 1028 | continue; /* not TCP */ |
1029 | if (pos->ai_socktype != SOCK_STREAM) | 1029 | if ( (pos->ai_socktype != SOCK_STREAM) && (pos->ai_socktype != 0) ) |
1030 | continue; /* huh? */ | 1030 | continue; /* huh? */ |
1031 | #if DEBUG_SERVICE | 1031 | #if DEBUG_SERVICE |
1032 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1032 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |