diff options
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 73158e59c..3658198bd 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c | |||
@@ -191,6 +191,16 @@ end_badly () | |||
191 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 191 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
192 | "Test had timeout while waiting to send data\n"); | 192 | "Test had timeout while waiting to send data\n"); |
193 | 193 | ||
194 | int i; | ||
195 | |||
196 | for (i = 0; i < TOTAL_MSGS; i++) | ||
197 | { | ||
198 | if (get_bit (bitmap, i) == 0) | ||
199 | { | ||
200 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Did not receive message %d\n", i); | ||
201 | ok = -1; | ||
202 | } | ||
203 | } | ||
194 | 204 | ||
195 | if (th != NULL) | 205 | if (th != NULL) |
196 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | 206 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); |