diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2014-01-08 21:16:41 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2014-01-08 21:16:41 +0000 |
commit | e7c031de1d196d5450213fad53419f76c0299109 (patch) | |
tree | 0ab5c00af6382cd5d1ecfdb4ed3fa5f835694dcc | |
parent | c22781f6603619a531437f01411e1d8ab4af9512 (diff) | |
download | gnunet-e7c031de1d196d5450213fad53419f76c0299109.tar.gz gnunet-e7c031de1d196d5450213fad53419f76c0299109.zip |
- test properly
-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); |