norm_prop_cur = fba_ctx->s->get_properties (fba_ctx->s->get_properties_cls,
(const struct ATS_Address *) current);
- GNUNET_break (0);
norm_prop_prev = fba_ctx->s->get_properties (fba_ctx->s->get_properties_cls,
(const struct ATS_Address *) fba_ctx->best);
-
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "%s previous %u current %u\n", "DISTANCE", norm_prop_cur[1], norm_prop_cur[1]);
+/*
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "%s previous %.2f current %.2f\n",
+ "DISTANCE", norm_prop_cur[1], norm_prop_cur[1]);
+*/
index = find_property_index (GNUNET_ATS_QUALITY_NET_DISTANCE);
if (GNUNET_SYSERR == index)
{
fba_ctx->best = current;
return GNUNET_OK;
}
-
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "%s previous %u current %u\n", "DELAY", norm_prop_cur[1], norm_prop_cur[1]);
+/*
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s previous %.2f current %.2f\n",
+ "DELAY", norm_prop_cur[1], norm_prop_cur[1]);
+ */
index = find_property_index (GNUNET_ATS_QUALITY_NET_DELAY);
if (GNUNET_SYSERR == index)
{
s->bulk_lock --;
if ((0 == s->bulk_lock) && (0 < s->bulk_requests))
{
- LOG (GNUNET_ERROR_TYPE_ERROR, "No lock pending, recalculating\n");
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "No lock pending, recalculating\n");
distribute_bandwidth_in_all_networks (s);
s->bulk_requests = 0;
}
/* Have an alternative address to suggest */
s->bw_changed (s->bw_changed_cls, new);
}
-
}
}
}
-
break;
case GNUNET_ATS_ARRAY_TERMINATOR:
break;