diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:28:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:28:57 +0000 |
commit | 66d788dbe9224b7d3e51ad60d2a29a167b2e348d (patch) | |
tree | dd1737e137f070c01ef42800c4fe625f526d0214 /src/ats/plugin_ats_ril.c | |
parent | 170d5baeece2def099112c6a25287a95d2b28899 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c index 6629355830..6718cae22f 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) for (c = 0; c < env->network_count; c++) { cur = &solver->network_entries[c]; - cur->type = env->networks[c]; + cur->type = c; cur->bw_in_available = env->in_quota[c]; cur->bw_out_available = env->out_quota[c]; 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); |