summaryrefslogtreecommitdiff
path: root/src/ats/plugin_ats_ril.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-06 09:28:57 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-06 09:28:57 +0000
commit66d788dbe9224b7d3e51ad60d2a29a167b2e348d (patch)
treedd1737e137f070c01ef42800c4fe625f526d0214 /src/ats/plugin_ats_ril.c
parent170d5baeece2def099112c6a25287a95d2b28899 (diff)
downloadgnunet-66d788dbe9224b7d3e51ad60d2a29a167b2e348d.tar.gz
gnunet-66d788dbe9224b7d3e51ad60d2a29a167b2e348d.zip
get rid of stupid network[i]=i array
Diffstat (limited to 'src/ats/plugin_ats_ril.c')
-rw-r--r--src/ats/plugin_ats_ril.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c
index 662935583..6718cae22 100644
--- a/src/ats/plugin_ats_ril.c
+++ b/src/ats/plugin_ats_ril.c
@@ -2799,7 +2799,7 @@ libgnunet_plugin_ats_ril_init (void *cls)
2799 for (c = 0; c < env->network_count; c++) 2799 for (c = 0; c < env->network_count; c++)
2800 { 2800 {
2801 cur = &solver->network_entries[c]; 2801 cur = &solver->network_entries[c];
2802 cur->type = env->networks[c]; 2802 cur->type = c;
2803 cur->bw_in_available = env->in_quota[c]; 2803 cur->bw_in_available = env->in_quota[c];
2804 cur->bw_out_available = env->out_quota[c]; 2804 cur->bw_out_available = env->out_quota[c];
2805 LOG(GNUNET_ERROR_TYPE_DEBUG, "init() Quotas for %s network: IN %llu - OUT %llu\n", GNUNET_ATS_print_network_type(cur->type), cur->bw_in_available/1024, cur->bw_out_available/1024); 2805 LOG(GNUNET_ERROR_TYPE_DEBUG, "init() Quotas for %s network: IN %llu - OUT %llu\n", GNUNET_ATS_print_network_type(cur->type), cur->bw_in_available/1024, cur->bw_out_available/1024);