gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r33038 - gnunet/src/mesh
Date: Fri, 11 Apr 2014 17:30:33 +0200

Author: bartpolot
Date: 2014-04-11 17:30:33 +0200 (Fri, 11 Apr 2014)
New Revision: 33038

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- de-duplicate ifs

Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-04-11 15:30:32 UTC 
(rev 33037)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-04-11 15:30:33 UTC 
(rev 33038)
@@ -639,6 +639,8 @@
       {
         GNUNET_assert (NULL != q);
         fc->last_pid_sent = pid;
+        GMC_send_ack (c, fwd, GNUNET_NO);
+        connection_reset_timeout (c, fwd);
       }
 
       LOG (GNUNET_ERROR_TYPE_DEBUG, "!  Q_N- %p %u\n", fc, fc->queue_n);
@@ -655,11 +657,6 @@
              "!   forced, Q_N not accounting pid %u\n",
              fc->last_pid_sent);
       }
-      if (GNUNET_YES == sent)
-      {
-        GMC_send_ack (c, fwd, GNUNET_NO);
-        connection_reset_timeout (c, fwd);
-      }
       break;
 
     case GNUNET_MESSAGE_TYPE_MESH_POLL:




reply via email to

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