diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-08 07:16:23 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-08 07:16:23 +0000 |
commit | 761c4c740fcf898538b46ed05eea3ef948e39c92 (patch) | |
tree | 6b600facfeba97c20956e5efbc2d284a1250662b /src | |
parent | 794fc27048618c511ce2421720d1ede225224018 (diff) | |
download | gnunet-761c4c740fcf898538b46ed05eea3ef948e39c92.tar.gz gnunet-761c4c740fcf898538b46ed05eea3ef948e39c92.zip |
removing debugging breaks
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/test_transport_api_bidirectional_connect.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/transport/test_transport_api_bidirectional_connect.c b/src/transport/test_transport_api_bidirectional_connect.c index 4decf0531..7c38d33c0 100644 --- a/src/transport/test_transport_api_bidirectional_connect.c +++ b/src/transport/test_transport_api_bidirectional_connect.c | |||
@@ -276,15 +276,12 @@ static void | |||
276 | testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) | 276 | testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) |
277 | { | 277 | { |
278 | static int connected = GNUNET_NO; | 278 | static int connected = GNUNET_NO; |
279 | GNUNET_break (0); | ||
280 | if ((cls == cc1) && (NULL != cc2)) | 279 | if ((cls == cc1) && (NULL != cc2)) |
281 | { | 280 | { |
282 | GNUNET_break (0); | ||
283 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc2); | 281 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc2); |
284 | } | 282 | } |
285 | if ((cls == cc2) && (NULL != cc1)) | 283 | if ((cls == cc2) && (NULL != cc1)) |
286 | { | 284 | { |
287 | GNUNET_break (0); | ||
288 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc1); | 285 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc1); |
289 | } | 286 | } |
290 | cc1 = NULL; | 287 | cc1 = NULL; |
@@ -298,7 +295,6 @@ testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) | |||
298 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u (%s)\n", | 295 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u (%s)\n", |
299 | p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id)); | 296 | p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id)); |
300 | GNUNET_free (p1_c); | 297 | GNUNET_free (p1_c); |
301 | GNUNET_break (0); | ||
302 | send_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &sendtask, NULL); | 298 | send_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &sendtask, NULL); |
303 | } | 299 | } |
304 | 300 | ||