gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r10662 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r10662 - gnunet/src/transport
Date: Fri, 19 Mar 2010 10:43:45 +0100

Author: grothoff
Date: 2010-03-19 10:43:45 +0100 (Fri, 19 Mar 2010)
New Revision: 10662

Modified:
   gnunet/src/transport/plugin_transport_tcp.c
Log:
fix

Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-03-19 09:14:23 UTC (rev 
10661)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-03-19 09:43:45 UTC (rev 
10662)
@@ -617,8 +617,8 @@
      where we could restrict the iteration to entries that match
      the target peer... */
   while ( (session != NULL) &&
-         (session->client != NULL) &&
-         ( (0 != memcmp (target,
+         ( (session->client == NULL) ||
+           (0 != memcmp (target,
                          &session->target, 
                          sizeof (struct GNUNET_PeerIdentity))) ||
            ( (GNUNET_YES == force_address) &&





reply via email to

[Prev in Thread] Current Thread [Next in Thread]