[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25129 - gnunet/src/stream
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25129 - gnunet/src/stream |
Date: |
Sun, 25 Nov 2012 13:31:00 +0100 |
Author: grothoff
Date: 2012-11-25 13:31:00 +0100 (Sun, 25 Nov 2012)
New Revision: 25129
Modified:
gnunet/src/stream/stream_api.c
Log:
-fix double-sending in stream if finish_cb behaves in a certain way
Modified: gnunet/src/stream/stream_api.c
===================================================================
--- gnunet/src/stream/stream_api.c 2012-11-25 11:56:35 UTC (rev 25128)
+++ gnunet/src/stream/stream_api.c 2012-11-25 12:31:00 UTC (rev 25129)
@@ -626,6 +626,8 @@
head);
GNUNET_free (head->message);
GNUNET_free (head);
+ if (NULL != socket->transmit_handle)
+ return ret; /* 'finish_cb' might have triggered message already! */
head = socket->queue_head;
if (NULL != head) /* more pending messages to send */
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25129 - gnunet/src/stream,
gnunet <=