ar->bandwidth_out = sbc->bw_out;
GNUNET_BANDWIDTH_tracker_update_quota (&ar->available_recv_window,
ar->bandwidth_in);
- GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
- "ats-api",
- "Bandwidth assigned to peer %s is i:%u/o:%u bytes/s\n",
- GNUNET_i2s ((const struct GNUNET_PeerIdentity *) key),
- ntohl (ar->bandwidth_in.value__),
- ntohl (ar->bandwidth_out.value__));
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Bandwidth assigned to peer %s is i:%u/o:%u bytes/s\n",
+ GNUNET_i2s ((const struct GNUNET_PeerIdentity *) key),
+ ntohl (ar->bandwidth_in.value__),
+ ntohl (ar->bandwidth_out.value__));
if (NULL != sbc->atc->alloc_cb)
sbc->atc->alloc_cb (sbc->atc->alloc_cb_cls,
(const struct GNUNET_PeerIdentity *) key,
struct GNUNET_ATS_SuggestionContext *asc;
#if DEBUG_ATS
- LOG (GNUNET_ERROR_TYPE_DEBUG, "ats-api",
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
"Looking up suggested address for peer `%s'\n", GNUNET_i2s (peer));
#endif
asc = GNUNET_malloc (sizeof (struct GNUNET_ATS_SuggestionContext));
#if DEBUG_ATS
- LOG (GNUNET_ERROR_TYPE_DEBUG, "ats-api",
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
"Updating session for peer `%s' plugin `%s'\n", GNUNET_h2s (key),
arold->plugin_name);
#endif
struct UpdateSessionContext usc;
#if DEBUG_ATS
- LOG (GNUNET_ERROR_TYPE_DEBUG, "ats-api",
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
"Updating address for peer `%s', plugin `%s'\n", GNUNET_i2s (peer),
plugin_name);
#endif
return;
}
#if DEBUG_ATS
- LOG (GNUNET_ERROR_TYPE_DEBUG, "ats-api",
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
"Adding new address for peer `%s', plugin `%s'\n", GNUNET_i2s (peer),
plugin_name);
#endif