gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r28158 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r28158 - gnunet/src/mesh
Date: Thu, 18 Jul 2013 14:36:06 +0200

Author: bartpolot
Date: 2013-07-18 14:36:06 +0200 (Thu, 18 Jul 2013)
New Revision: 28158

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
- don't zero send flag after a cancelled transmission

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2013-07-18 12:35:37 UTC (rev 28157)
+++ gnunet/src/mesh/mesh_api.c  2013-07-18 12:36:06 UTC (rev 28158)
@@ -1182,7 +1182,6 @@
         continue;
       }
       t->packet_size = 0;
-      t->allow_send = GNUNET_NO;
       GNUNET_assert (size >= th->size);
       dmsg = (struct GNUNET_MESH_LocalData *) cbuf;
       mh = (struct GNUNET_MessageHeader *) &dmsg[1];
@@ -1198,6 +1197,7 @@
         dmsg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_DATA);
         LOG (GNUNET_ERROR_TYPE_DEBUG, "#  payload type %s\n",
              GNUNET_MESH_DEBUG_M2S (ntohs (mh->type)));
+        t->allow_send = GNUNET_NO;
       }
       else
       {




reply via email to

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