diff options
Diffstat (limited to 'src/transport/test_transport_api_blacklisting.c')
-rw-r--r-- | src/transport/test_transport_api_blacklisting.c | 2 |
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) | |||
282 | struct PeerContext *p = cls; | 282 | struct PeerContext *p = cls; |
283 | struct PeerContext *t = NULL; | 283 | struct PeerContext *t = NULL; |
284 | 284 | ||
285 | connected = GNUNET_YES; | ||
285 | if (0 == memcmp (peer, &p1->id, sizeof (struct GNUNET_PeerIdentity))) | 286 | if (0 == memcmp (peer, &p1->id, sizeof (struct GNUNET_PeerIdentity))) |
286 | t = p1; | 287 | t = p1; |
287 | if (0 == memcmp (peer, &p2->id, sizeof (struct GNUNET_PeerIdentity))) | 288 | 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) | |||
320 | cc = NULL; | 321 | cc = NULL; |
321 | char *p1_c = GNUNET_strdup (GNUNET_i2s (&p1->id)); | 322 | char *p1_c = GNUNET_strdup (GNUNET_i2s (&p1->id)); |
322 | 323 | ||
324 | connected = GNUNET_YES; | ||
323 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u (%s)\n", | 325 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u (%s)\n", |
324 | p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id)); | 326 | p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id)); |
325 | GNUNET_free (p1_c); | 327 | GNUNET_free (p1_c); |