aboutsummaryrefslogtreecommitdiff
path: root/src/util/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/service.c')
-rw-r--r--src/util/service.c4
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,