[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15727 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15727 - gnunet/src/util |
Date: |
Mon, 20 Jun 2011 15:27:28 +0200 |
Author: grothoff
Date: 2011-06-20 15:27:28 +0200 (Mon, 20 Jun 2011)
New Revision: 15727
Modified:
gnunet/src/util/service.c
Log:
helping w32
Modified: gnunet/src/util/service.c
===================================================================
--- gnunet/src/util/service.c 2011-06-20 11:44:11 UTC (rev 15726)
+++ gnunet/src/util/service.c 2011-06-20 13:27:28 UTC (rev 15727)
@@ -1024,9 +1024,9 @@
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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15727 - gnunet/src/util,
gnunet <=