gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9059 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r9059 - gnunet/src/util
Date: Thu, 1 Oct 2009 16:25:05 -0600

Author: grothoff
Date: 2009-10-01 16:25:04 -0600 (Thu, 01 Oct 2009)
New Revision: 9059

Modified:
   gnunet/src/util/connection.c
Log:
wrong place for assertion

Modified: gnunet/src/util/connection.c
===================================================================
--- gnunet/src/util/connection.c        2009-10-01 22:22:24 UTC (rev 9058)
+++ gnunet/src/util/connection.c        2009-10-01 22:25:04 UTC (rev 9059)
@@ -1310,7 +1310,6 @@
 
   GNUNET_assert (sock->write_task != GNUNET_SCHEDULER_NO_TASK);
   sock->write_task = GNUNET_SCHEDULER_NO_TASK;
-  GNUNET_assert (NULL != sock->sock);
   if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT))
     {
 #if DEBUG_CONNECTION
@@ -1323,6 +1322,7 @@
       notify (sock->nth.notify_ready_cls, 0, NULL);
       return;
     }
+  GNUNET_assert (NULL != sock->sock);
   if (! GNUNET_NETWORK_fdset_isset (tc->write_ready, 
                                    sock->sock))
     {





reply via email to

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