gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r26711 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r26711 - gnunet/src/arm
Date: Mon, 1 Apr 2013 20:27:35 +0200

Author: harsha
Date: 2013-04-01 20:27:35 +0200 (Mon, 01 Apr 2013)
New Revision: 26711

Modified:
   gnunet/src/arm/arm_api.c
Log:
- fix 2851

Modified: gnunet/src/arm/arm_api.c
===================================================================
--- gnunet/src/arm/arm_api.c    2013-04-01 17:54:06 UTC (rev 26710)
+++ gnunet/src/arm/arm_api.c    2013-04-01 18:27:35 UTC (rev 26711)
@@ -360,16 +360,15 @@
     LOG (GNUNET_ERROR_TYPE_DEBUG, "Request pending, not processing queue\n");
     return;
   }
-  if (NULL != h->control_pending_head)
-    msize =
-        ntohs (((struct GNUNET_MessageHeader *) &h->
-                control_pending_head[1])->size);
-  else if (GNUNET_NO == ignore_currently_down)
+  if (NULL == h->control_pending_head)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG,
          "Request queue empty, not processing queue\n");
     return;                     /* no pending message */
   }
+  msize =
+      ntohs (((struct GNUNET_MessageHeader *) &h->
+              control_pending_head[1])->size);
   h->cth =
       GNUNET_CLIENT_notify_transmit_ready (h->client, msize,
                                            GNUNET_TIME_UNIT_FOREVER_REL,




reply via email to

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