diff options
Diffstat (limited to 'src/ats/plugin_ats_proportional.c')
-rw-r--r-- | src/ats/plugin_ats_proportional.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c index f4324d238..52476c825 100644 --- a/src/ats/plugin_ats_proportional.c +++ b/src/ats/plugin_ats_proportional.c | |||
@@ -218,6 +218,8 @@ is_bandwidth_available_in_network (struct Network *net, | |||
218 | if (((net->total_quota_in / na) > min_bw) && | 218 | if (((net->total_quota_in / na) > min_bw) && |
219 | ((net->total_quota_out / na) > min_bw)) | 219 | ((net->total_quota_out / na) > min_bw)) |
220 | return GNUNET_YES; | 220 | return GNUNET_YES; |
221 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
222 | "No bandwidth available in network\n"); | ||
221 | return GNUNET_NO; | 223 | return GNUNET_NO; |
222 | } | 224 | } |
223 | 225 | ||
@@ -1225,7 +1227,7 @@ libgnunet_plugin_ats_proportional_done (void *cls) | |||
1225 | GNUNET_CONTAINER_DLL_remove (s->network_entries[c].head, | 1227 | GNUNET_CONTAINER_DLL_remove (s->network_entries[c].head, |
1226 | s->network_entries[c].tail, | 1228 | s->network_entries[c].tail, |
1227 | cur); | 1229 | cur); |
1228 | GNUNET_free_non_null (cur->addr->solver_information); | 1230 | GNUNET_free (cur->addr->solver_information); |
1229 | GNUNET_free (cur); | 1231 | GNUNET_free (cur); |
1230 | } | 1232 | } |
1231 | GNUNET_free (s->network_entries[c].stat_total); | 1233 | GNUNET_free (s->network_entries[c].stat_total); |