gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36608 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r36608 - gnunet/src/transport
Date: Tue, 27 Oct 2015 18:24:00 +0100

Author: grothoff
Date: 2015-10-27 18:23:59 +0100 (Tue, 27 Oct 2015)
New Revision: 36608

Modified:
   gnunet/src/transport/transport_api.c
Log:
-fix SEGV

Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c        2015-10-27 16:09:09 UTC (rev 
36607)
+++ gnunet/src/transport/transport_api.c        2015-10-27 17:23:59 UTC (rev 
36608)
@@ -763,7 +763,8 @@
     bytes_msg = ntohl (okm->bytes_msg);
     bytes_physical = ntohl (okm->bytes_physical);
     LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "Receiving SEND_OK message, transmission %s.\n",
+         "Receiving SEND_OK message, transmission to %s %s.\n",
+         GNUNET_i2s (&okm->peer),
          ntohl (okm->success) == GNUNET_OK ? "succeeded" : "failed");
 
     n = neighbour_find (h,
@@ -1106,8 +1107,6 @@
   }
   else
   {
-    if (GNUNET_YES != n->is_ready)
-      return;                   /* service not ready for another one */
     n = GNUNET_CONTAINER_heap_peek (h->ready_heap);
     if (NULL == n)
       return;                   /* no pending messages */
@@ -1748,7 +1747,9 @@
 
   if (NULL != ghh->notify_task)
     GNUNET_SCHEDULER_cancel (ghh->notify_task);
-  GNUNET_CONTAINER_DLL_remove (handle->hwl_head, handle->hwl_tail, ghh);
+  GNUNET_CONTAINER_DLL_remove (handle->hwl_head,
+                               handle->hwl_tail,
+                               ghh);
   GNUNET_free (ghh);
 }
 




reply via email to

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