gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13797 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r13797 - gnunet/src/core
Date: Wed, 24 Nov 2010 17:34:32 +0100

Author: grothoff
Date: 2010-11-24 17:34:32 +0100 (Wed, 24 Nov 2010)
New Revision: 13797

Modified:
   gnunet/src/core/gnunet-service-core.c
Log:
random hack - 1618

Modified: gnunet/src/core/gnunet-service-core.c
===================================================================
--- gnunet/src/core/gnunet-service-core.c       2010-11-24 16:18:05 UTC (rev 
13796)
+++ gnunet/src/core/gnunet-service-core.c       2010-11-24 16:34:32 UTC (rev 
13797)
@@ -2757,7 +2757,7 @@
       /* transport should only call us to transmit a message after
        * telling us about a successful connection to the respective peer */
 #if DEBUG_CORE
-      GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Timeout on notify connect!\n");
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Timeout on notify connect!\n");
 #endif
       return 0;
     }
@@ -4195,6 +4195,11 @@
       cnm.peer = *peer;
       send_to_all_clients (&cnm.header, GNUNET_NO, 
GNUNET_CORE_OPTION_SEND_DISCONNECT);
     }
+  if (NULL != n->th)
+    {
+      GNUNET_TRANSPORT_notify_transmit_ready_cancel (n->th);
+      n->th = NULL;
+    }
   n->is_connected = GNUNET_NO;
   n->status = PEER_STATE_DOWN;
   while (NULL != (car = n->active_client_request_head))




reply via email to

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