Fixed mantis #1870, stopped dht_get_type request twice on client disconnect/tunnel...
authorBart Polot <bart@net.in.tum.de>
Wed, 2 Nov 2011 10:38:28 +0000 (10:38 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 2 Nov 2011 10:38:28 +0000 (10:38 +0000)
src/mesh/gnunet-service-mesh.c
src/mesh/test_mesh_small.conf

index 3920738d7a5039c4e44ee4e8c462d61d5bd6ad34..792a4390d42f484711b8f10d63bcece4ed42efb1 100644 (file)
@@ -2192,10 +2192,6 @@ tunnel_destroy_iterator (void *cls, const GNUNET_HashCode * key, void *value)
   struct MeshTunnel *t = value;
   int r;
 
-  if (NULL != t->dht_get_type)
-  {
-    GNUNET_DHT_get_stop (t->dht_get_type);
-  }
   r = tunnel_destroy (t);
   return r;
 }
index 9e340aacbf645b6318359b5c03805f0bd2edf814..12b8b142aa6d74c9fbfc54e639e320aacddbc576 100644 (file)
@@ -54,7 +54,7 @@ PORT = 10005
 DEBUG=YES
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
-PREFIX = valgrind --leak-check=full
+PREFIX = valgrind --leak-check=full
 # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
 
 [testing]