aboutsummaryrefslogtreecommitdiff
path: root/src/conversation
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-16 18:22:09 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-16 18:22:09 +0000
commit86e159914a47cc99ce6cdf1135bb1e1cd79ca44c (patch)
tree6a0a1e9202a2b7f06bea650b999250ffe81f825a /src/conversation
parent25b3424c164f7e45b74e015e4f7053c3816dad78 (diff)
downloadgnunet-86e159914a47cc99ce6cdf1135bb1e1cd79ca44c.tar.gz
gnunet-86e159914a47cc99ce6cdf1135bb1e1cd79ca44c.zip
-do not send done after destroying channel
Diffstat (limited to 'src/conversation')
-rw-r--r--src/conversation/gnunet-service-conversation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversation/gnunet-service-conversation.c b/src/conversation/gnunet-service-conversation.c
index 900de3275..08c93eb59 100644
--- a/src/conversation/gnunet-service-conversation.c
+++ b/src/conversation/gnunet-service-conversation.c
@@ -982,6 +982,7 @@ handle_mesh_hangup_message (void *cls,
982 hup.header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP); 982 hup.header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP);
983 hup.cid = ch->cid; 983 hup.cid = ch->cid;
984 status = ch->status; 984 status = ch->status;
985 GNUNET_MESH_receive_done (channel);
985 destroy_line_mesh_channels (ch); 986 destroy_line_mesh_channels (ch);
986 switch (status) 987 switch (status)
987 { 988 {
@@ -1002,7 +1003,6 @@ handle_mesh_hangup_message (void *cls,
1002 line->client, 1003 line->client,
1003 &hup.header, 1004 &hup.header,
1004 GNUNET_NO); 1005 GNUNET_NO);
1005 GNUNET_MESH_receive_done (channel);
1006 return GNUNET_OK; 1006 return GNUNET_OK;
1007} 1007}
1008 1008