diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-02 10:38:28 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-02 10:38:28 +0000 |
commit | 889f5202eec58d94691f5cd83d80acb7a3804444 (patch) | |
tree | 4dbc8a4495a692ff437063c228ab30571dcd2d9a /src/mesh | |
parent | 0a9abb17bae7c51c6d8b04e50d6b8bcb2c98cf00 (diff) | |
download | gnunet-889f5202eec58d94691f5cd83d80acb7a3804444.tar.gz gnunet-889f5202eec58d94691f5cd83d80acb7a3804444.zip |
Fixed mantis #1870, stopped dht_get_type request twice on client disconnect/tunnel destroy
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 4 | ||||
-rw-r--r-- | src/mesh/test_mesh_small.conf | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 3920738d7..792a4390d 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -2192,10 +2192,6 @@ tunnel_destroy_iterator (void *cls, const GNUNET_HashCode * key, void *value) | |||
2192 | struct MeshTunnel *t = value; | 2192 | struct MeshTunnel *t = value; |
2193 | int r; | 2193 | int r; |
2194 | 2194 | ||
2195 | if (NULL != t->dht_get_type) | ||
2196 | { | ||
2197 | GNUNET_DHT_get_stop (t->dht_get_type); | ||
2198 | } | ||
2199 | r = tunnel_destroy (t); | 2195 | r = tunnel_destroy (t); |
2200 | return r; | 2196 | return r; |
2201 | } | 2197 | } |
diff --git a/src/mesh/test_mesh_small.conf b/src/mesh/test_mesh_small.conf index 9e340aacb..12b8b142a 100644 --- a/src/mesh/test_mesh_small.conf +++ b/src/mesh/test_mesh_small.conf | |||
@@ -54,7 +54,7 @@ PORT = 10005 | |||
54 | DEBUG=YES | 54 | DEBUG=YES |
55 | ACCEPT_FROM = 127.0.0.1; | 55 | ACCEPT_FROM = 127.0.0.1; |
56 | HOSTNAME = localhost | 56 | HOSTNAME = localhost |
57 | # PREFIX = valgrind --leak-check=full | 57 | PREFIX = valgrind --leak-check=full |
58 | # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args | 58 | # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args |
59 | 59 | ||
60 | [testing] | 60 | [testing] |