gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r33509 - gnunet/src/conversation


From: gnunet
Subject: [GNUnet-SVN] r33509 - gnunet/src/conversation
Date: Wed, 4 Jun 2014 13:49:18 +0200

Author: grothoff
Date: 2014-06-04 13:49:18 +0200 (Wed, 04 Jun 2014)
New Revision: 33509

Modified:
   gnunet/src/conversation/conversation_api.c
Log:
-initialize cid in hangup message

Modified: gnunet/src/conversation/conversation_api.c
===================================================================
--- gnunet/src/conversation/conversation_api.c  2014-06-04 11:45:27 UTC (rev 
33508)
+++ gnunet/src/conversation/conversation_api.c  2014-06-04 11:49:18 UTC (rev 
33509)
@@ -795,11 +795,12 @@
   GNUNET_CONTAINER_DLL_remove (phone->caller_head,
                                phone->caller_tail,
                                caller);
-  GNUNET_free_non_null (caller->caller_id_str);
-  GNUNET_free (caller);
   e = GNUNET_MQ_msg (hang,
                      GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP);
+  hang->cid = caller->cid;
   GNUNET_MQ_send (phone->mq, e);
+  GNUNET_free_non_null (caller->caller_id_str);
+  GNUNET_free (caller);
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]