diff options
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index c22f8b20a..69fb75be6 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -336,11 +336,12 @@ get_latency (const struct GNUNET_TRANSPORT_ATS_Information *atsi) | |||
336 | if (ntohl (atsi->type) == GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR) | 336 | if (ntohl (atsi->type) == GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR) |
337 | { | 337 | { |
338 | static int once; | 338 | static int once; |
339 | if (! once) | 339 | |
340 | { | 340 | if (!once) |
341 | once = 1; | 341 | { |
342 | GNUNET_break (0); | 342 | once = 1; |
343 | } | 343 | GNUNET_break (0); |
344 | } | ||
344 | /* how can we not have latency data? */ | 345 | /* how can we not have latency data? */ |
345 | return GNUNET_TIME_UNIT_SECONDS; | 346 | return GNUNET_TIME_UNIT_SECONDS; |
346 | } | 347 | } |