From e7c031de1d196d5450213fad53419f76c0299109 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Wed, 8 Jan 2014 21:16:41 +0000 Subject: - test properly --- src/transport/test_transport_api_blacklisting.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3