projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5175505
)
helping w32
author
Christian Grothoff
<christian@grothoff.org>
Mon, 20 Jun 2011 13:27:28 +0000
(13:27 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 20 Jun 2011 13:27:28 +0000
(13:27 +0000)
src/util/service.c
patch
|
blob
|
history
diff --git
a/src/util/service.c
b/src/util/service.c
index 1e70e3ada5430bbe710378c3dc11e730836c3166..dbbdba0a4fa4ad0f7208d787778a2aa8815dddd9 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-1024,9
+1024,9
@@
GNUNET_SERVICE_get_server_addresses (const char *serviceName,
next = pos->ai_next;
if ( (disablev6) && (pos->ai_family == AF_INET6))
continue;
- if (
pos->ai_protocol != IPPROTO_TCP
)
+ if (
(pos->ai_protocol != IPPROTO_TCP) && (pos->ai_protocol != 0)
)
continue; /* not TCP */
- if (
pos->ai_socktype != SOCK_STREAM
)
+ if (
(pos->ai_socktype != SOCK_STREAM) && (pos->ai_socktype != 0)
)
continue; /* huh? */
#if DEBUG_SERVICE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,