aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_local.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-11-26 01:52:30 +0000
committerBart Polot <bart@net.in.tum.de>2013-11-26 01:52:30 +0000
commitc4bf6c6e248b3e9f97bac1e9faa04bd7d7c126a1 (patch)
tree9a9ced93b5dc08d1a13c333d23764c91d09e6e83 /src/mesh/gnunet-service-mesh_local.c
parenta9fbe235a3d94d197d0359a4df546f85b2fd405b (diff)
downloadgnunet-c4bf6c6e248b3e9f97bac1e9faa04bd7d7c126a1.tar.gz
gnunet-c4bf6c6e248b3e9f97bac1e9faa04bd7d7c126a1.zip
- fix #3114: add feedback from _local to _channel on who is requesting the channel destruction, notify the other part
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r--src/mesh/gnunet-service-mesh_local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c
index 560289efc..2d4db7ad0 100644
--- a/src/mesh/gnunet-service-mesh_local.c
+++ b/src/mesh/gnunet-service-mesh_local.c
@@ -214,7 +214,7 @@ channel_destroy_iterator (void *cls,
214 " Channel %s destroy, due to client %s shutdown.\n", 214 " Channel %s destroy, due to client %s shutdown.\n",
215 GMCH_2s (ch), GML_2s (c)); 215 GMCH_2s (ch), GML_2s (c));
216 216
217 GMCH_handle_local_destroy (ch, c); 217 GMCH_handle_local_destroy (ch, c, key < GNUNET_MESH_LOCAL_CHANNEL_ID_SERV);
218 return GNUNET_OK; 218 return GNUNET_OK;
219} 219}
220 220
@@ -439,7 +439,7 @@ handle_channel_destroy (void *cls, struct GNUNET_SERVER_Client *client,
439 return; 439 return;
440 } 440 }
441 441
442 GMCH_handle_local_destroy (ch, c); 442 GMCH_handle_local_destroy (ch, c, chid < GNUNET_MESH_LOCAL_CHANNEL_ID_SERV);
443 443
444 GNUNET_SERVER_receive_done (client, GNUNET_OK); 444 GNUNET_SERVER_receive_done (client, GNUNET_OK);
445 return; 445 return;