aboutsummaryrefslogtreecommitdiff
path: root/src/conversation
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-04 11:49:18 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-04 11:49:18 +0000
commita22160c2a65a14446128b07a4735ae3d13489ed2 (patch)
tree43178b7cab00b6375687da12ee2e96b6bed82594 /src/conversation
parent3ce16c6abb0644398c18387b03aba54fe996ecf0 (diff)
downloadgnunet-a22160c2a65a14446128b07a4735ae3d13489ed2.tar.gz
gnunet-a22160c2a65a14446128b07a4735ae3d13489ed2.zip
-initialize cid in hangup message
Diffstat (limited to 'src/conversation')
-rw-r--r--src/conversation/conversation_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c
index a9efb7495..4e9901c81 100644
--- a/src/conversation/conversation_api.c
+++ b/src/conversation/conversation_api.c
@@ -795,11 +795,12 @@ GNUNET_CONVERSATION_caller_hang_up (struct GNUNET_CONVERSATION_Caller *caller)
795 GNUNET_CONTAINER_DLL_remove (phone->caller_head, 795 GNUNET_CONTAINER_DLL_remove (phone->caller_head,
796 phone->caller_tail, 796 phone->caller_tail,
797 caller); 797 caller);
798 GNUNET_free_non_null (caller->caller_id_str);
799 GNUNET_free (caller);
800 e = GNUNET_MQ_msg (hang, 798 e = GNUNET_MQ_msg (hang,
801 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP); 799 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP);
800 hang->cid = caller->cid;
802 GNUNET_MQ_send (phone->mq, e); 801 GNUNET_MQ_send (phone->mq, e);
802 GNUNET_free_non_null (caller->caller_id_str);
803 GNUNET_free (caller);
803} 804}
804 805
805 806