fix testcases: ack received messages
authorBart Polot <bart.polot+gnunet@gmail.com>
Wed, 1 Mar 2017 18:28:40 +0000 (19:28 +0100)
committerBart Polot <bart.polot+gnunet@gmail.com>
Wed, 1 Mar 2017 18:28:40 +0000 (19:28 +0100)
src/cadet/test_cadet_new.c

index 30211990672ce75a1eba7910b1003348f9784d14..40d1879ac249d4c6d5a9962ec9cd7d591333a847 100644 (file)
@@ -604,6 +604,7 @@ handle_data (void *cls, const struct GNUNET_MessageHeader *message)
   int *counter;
 
   ok++;
+  GNUNET_CADET_receive_done (channel);
   counter = get_target_channel () == channel ? &data_received : &ack_received;
 
   reschedule_timeout_task ((long) __LINE__);