[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9234 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9234 - gnunet/src/util |
Date: |
Tue, 20 Oct 2009 14:33:59 -0600 |
Author: holindho
Date: 2009-10-20 14:33:59 -0600 (Tue, 20 Oct 2009)
New Revision: 9234
Modified:
gnunet/src/util/connection.c
Log:
try to take rescheduled transmit into account
Modified: gnunet/src/util/connection.c
===================================================================
--- gnunet/src/util/connection.c 2009-10-20 20:09:12 UTC (rev 9233)
+++ gnunet/src/util/connection.c 2009-10-20 20:33:59 UTC (rev 9234)
@@ -1478,7 +1478,8 @@
sock->nth.notify_size = size;
sock->nth.transmit_timeout = GNUNET_TIME_relative_to_absolute (timeout);
GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == sock->nth.timeout_task);
- GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == sock->write_task);
+ if (GNUNET_SCHEDULER_NO_TASK != sock->write_task)
+ return &sock->nth;
if (sock->sock != NULL)
{
#if DEBUG_CONNECTION
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9234 - gnunet/src/util,
gnunet <=