gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31843 - gnunet/src/transport
Date: Wed, 8 Jan 2014 22:16:42 +0100

Author: harsha
Date: 2014-01-08 22:16:41 +0100 (Wed, 08 Jan 2014)
New Revision: 31843

Modified:
   gnunet/src/transport/test_transport_api_blacklisting.c
Log:
- test properly


Modified: gnunet/src/transport/test_transport_api_blacklisting.c
===================================================================
--- gnunet/src/transport/test_transport_api_blacklisting.c      2014-01-08 
18:03:30 UTC (rev 31842)
+++ gnunet/src/transport/test_transport_api_blacklisting.c      2014-01-08 
21:16:41 UTC (rev 31843)
@@ -282,6 +282,7 @@
   struct PeerContext *p = cls;
   struct PeerContext *t = NULL;
 
+  connected = GNUNET_YES;
   if (0 == memcmp (peer, &p1->id, sizeof (struct GNUNET_PeerIdentity)))
     t = p1;
   if (0 == memcmp (peer, &p2->id, sizeof (struct GNUNET_PeerIdentity)))
@@ -320,6 +321,7 @@
   cc = NULL;
   char *p1_c = GNUNET_strdup (GNUNET_i2s (&p1->id));
 
+  connected = GNUNET_YES;
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u 
(%s)\n",
               p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id));
   GNUNET_free (p1_c);




reply via email to

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