diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-11-14 14:21:05 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-11-14 14:21:05 +0000 |
commit | 75adc1a7619adb3f33673669984419e73b1b7edf (patch) | |
tree | 349a129dc277c0ad6872e86224450b957a66d8c3 /src/transport/test_transport_api_unreliability.c | |
parent | e13724a1e59e7d4f896a8c6d624edd54f15aa99e (diff) | |
download | gnunet-75adc1a7619adb3f33673669984419e73b1b7edf.tar.gz gnunet-75adc1a7619adb3f33673669984419e73b1b7edf.zip |
hunting bugs
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-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); |