diff options
Diffstat (limited to 'src/ats/gnunet-service-ats-solver_proportional.c')
-rw-r--r-- | src/ats/gnunet-service-ats-solver_proportional.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats-solver_proportional.c b/src/ats/gnunet-service-ats-solver_proportional.c index a48714855..1a1d5cad4 100644 --- a/src/ats/gnunet-service-ats-solver_proportional.c +++ b/src/ats/gnunet-service-ats-solver_proportional.c | |||
@@ -596,13 +596,14 @@ find_best_address_it (void *cls, const struct GNUNET_HashCode * key, void *value | |||
596 | 596 | ||
597 | now = GNUNET_TIME_absolute_get(); | 597 | now = GNUNET_TIME_absolute_get(); |
598 | 598 | ||
599 | if (current->blocked_until.abs_value == GNUNET_TIME_absolute_max (now, current->blocked_until).abs_value) | 599 | if (current->blocked_until.abs_value_us == GNUNET_TIME_absolute_max (now, current->blocked_until).abs_value_us) |
600 | { | 600 | { |
601 | /* This address is blocked for suggestion */ | 601 | /* This address is blocked for suggestion */ |
602 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 602 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
603 | "Address %p blocked for suggestion for %llu ms \n", | 603 | "Address %p blocked for suggestion for %s \n", |
604 | current, | 604 | current, |
605 | GNUNET_TIME_absolute_get_difference(now, current->blocked_until).rel_value); | 605 | GNUNET_STRINGS_relative_time_to_string (GNUNET_TIME_absolute_get_difference (now, current->blocked_until), |
606 | GNUNET_YES)); | ||
606 | return GNUNET_OK; | 607 | return GNUNET_OK; |
607 | } | 608 | } |
608 | if (GNUNET_NO == is_bandwidth_available_in_network (net)) | 609 | if (GNUNET_NO == is_bandwidth_available_in_network (net)) |