gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28828 - gnunet/src/mesh
Date: Fri, 23 Aug 2013 18:04:37 +0200

Author: bartpolot
Date: 2013-08-23 18:04:37 +0200 (Fri, 23 Aug 2013)
New Revision: 28828

Modified:
   gnunet/src/mesh/gnunet-service-mesh-enc.c
Log:
- fix ack direction


Modified: gnunet/src/mesh/gnunet-service-mesh-enc.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-enc.c   2013-08-23 15:59:04 UTC (rev 
28827)
+++ gnunet/src/mesh/gnunet-service-mesh-enc.c   2013-08-23 16:04:37 UTC (rev 
28828)
@@ -1865,7 +1865,7 @@
  * 
  * @param c Which connection to send the hop-by-hop ACK.
  * @param ack Value of the ACK.
- * @param fwd Is this fwd?
+ * @param fwd Is this a fwd ACK? (will go dest->root)
  */
 static void
 send_ack (struct MeshConnection *c, uint32_t ack, int fwd)
@@ -1881,7 +1881,7 @@
               "send %s ack %u on %s\n",
               fwd ? "FWD" : "BCK", ack, GNUNET_h2s (&c->id));
 
-  send_prebuilt_message_connection (&msg.header, c, NULL, fwd);
+  send_prebuilt_message_connection (&msg.header, c, NULL, !fwd);
 }
 
 




reply via email to

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