aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-12-20 15:32:29 +0000
committerBart Polot <bart@net.in.tum.de>2012-12-20 15:32:29 +0000
commita58f9c490266553ada1095e3a88f31c42c36eee0 (patch)
treefe1d60fbdfbaf3bb525a897e423e61236b2b5840 /src/mesh
parent66f7d73698ca76b80186da30c749691fa8c3a048 (diff)
downloadgnunet-a58f9c490266553ada1095e3a88f31c42c36eee0.tar.gz
gnunet-a58f9c490266553ada1095e3a88f31c42c36eee0.zip
- fix
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/test_mesh_small.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c
index 1fbb45adf..74840df1c 100644
--- a/src/mesh/test_mesh_small.c
+++ b/src/mesh/test_mesh_small.c
@@ -527,10 +527,15 @@ data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
527 show_end_data(); 527 show_end_data();
528 } 528 }
529 if (test == P2P_SIGNAL) 529 if (test == P2P_SIGNAL)
530 {
530 GNUNET_MESH_tunnel_destroy (incoming_t); 531 GNUNET_MESH_tunnel_destroy (incoming_t);
532 incoming_t = NULL;
533 }
531 else 534 else
535 {
532 GNUNET_MESH_tunnel_destroy (t); 536 GNUNET_MESH_tunnel_destroy (t);
533 t = NULL; 537 t = NULL;
538 }
534 } 539 }
535 540
536 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task) 541 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)