summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2014-01-08 21:16:41 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2014-01-08 21:16:41 +0000
commite7c031de1d196d5450213fad53419f76c0299109 (patch)
tree0ab5c00af6382cd5d1ecfdb4ed3fa5f835694dcc /src
parentc22781f6603619a531437f01411e1d8ab4af9512 (diff)
- test properly
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_transport_api_blacklisting.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_blacklisting.c b/src/transport/test_transport_api_blacklisting.c
index 7186d1b3f..146e3477b 100644
--- a/src/transport/test_transport_api_blacklisting.c
+++ b/src/transport/test_transport_api_blacklisting.c
@@ -282,6 +282,7 @@ notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer)
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 @@ testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls)
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);