diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-01-25 16:41:38 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-01-25 16:41:38 +0000 |
commit | 084348cf917b4c117070f9811d8b9f9786d2d3fc (patch) | |
tree | eb763c091d373e70908a5091089c7f7a15b16d02 /src/mesh | |
parent | 49e84a08e2bbdcc421a24bfe1ccd9cc15846fe2b (diff) | |
download | gnunet-084348cf917b4c117070f9811d8b9f9786d2d3fc.tar.gz gnunet-084348cf917b4c117070f9811d8b9f9786d2d3fc.zip |
- Potential fix for #2104.
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 604ad52a9..cb3812e16 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -966,7 +966,7 @@ send_clients_tunnel_destroy (struct MeshTunnel *t) | |||
966 | 966 | ||
967 | 967 | ||
968 | /** | 968 | /** |
969 | * Notify clients f tunnel disconnections, if needed. | 969 | * Notify clients of tunnel disconnections, if needed. |
970 | * In case the origin disconnects, the destination clients get a tunnel destroy | 970 | * In case the origin disconnects, the destination clients get a tunnel destroy |
971 | * notification. If the last destination disconnects (only one remaining client | 971 | * notification. If the last destination disconnects (only one remaining client |
972 | * in tunnel), the origin gets a (local ID) peer disconnected. | 972 | * in tunnel), the origin gets a (local ID) peer disconnected. |
@@ -3907,7 +3907,6 @@ handle_local_tunnel_destroy (void *cls, struct GNUNET_SERVER_Client *client, | |||
3907 | &my_full_id.hashPubKey, | 3907 | &my_full_id.hashPubKey, |
3908 | t)); | 3908 | t)); |
3909 | } | 3909 | } |
3910 | t->local_tid_dest = 0; | ||
3911 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 3910 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
3912 | return; | 3911 | return; |
3913 | } | 3912 | } |