- adapt delay after each ACK
authorBart Polot <bart@net.in.tum.de>
Thu, 11 Jul 2013 15:24:38 +0000 (15:24 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 11 Jul 2013 15:24:38 +0000 (15:24 +0000)
src/mesh/gnunet-service-mesh.c

index a7801a573ce977e305fb9a164d01032d5894bfa3..70366c7328fb8bc3c4450b98ab341b237e048a9c 100644 (file)
@@ -3985,7 +3985,7 @@ handle_mesh_data_ack (void *cls, const struct GNUNET_PeerIdentity *peer,
     if (copy->id > ack)
     {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "!!!  head %u, out!\n", copy->id);
-      return GNUNET_OK;
+      break;
     }
     work = GNUNET_YES;
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "!!!  id %u\n", copy->id);