aboutsummaryrefslogtreecommitdiff
path: root/src/ats/plugin_ats_proportional.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-08 22:58:14 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-08 22:58:14 +0000
commit47435b4bc0f217b7b13b8e6fd513b3029cffd8c8 (patch)
treeec05a7ff1b75898238484e4a567a73fccf9524fb /src/ats/plugin_ats_proportional.c
parent03a39827ef721653ad9509ce12173bd674592caf (diff)
downloadgnunet-47435b4bc0f217b7b13b8e6fd513b3029cffd8c8.tar.gz
gnunet-47435b4bc0f217b7b13b8e6fd513b3029cffd8c8.zip
-fin, mention future work in TODO
Diffstat (limited to 'src/ats/plugin_ats_proportional.c')
-rw-r--r--src/ats/plugin_ats_proportional.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c
index d65cbb289..6fd7e42a1 100644
--- a/src/ats/plugin_ats_proportional.c
+++ b/src/ats/plugin_ats_proportional.c
@@ -1062,16 +1062,10 @@ GAS_proportional_address_add (void *solver,
1062 net->stat_total, 1062 net->stat_total,
1063 1, 1063 1,
1064 GNUNET_NO); 1064 GNUNET_NO);
1065 if (0 != 1065 update_active_address (s,
1066 s->env->get_connectivity (s->env->cls, 1066 get_active_address (s,
1067 &address->peer)) 1067 &address->peer),
1068 { 1068 &address->peer);
1069 /* This peer is requested, find best address */
1070 update_active_address (s,
1071 get_active_address (s,
1072 &address->peer),
1073 &address->peer);
1074 }
1075 LOG (GNUNET_ERROR_TYPE_INFO, 1069 LOG (GNUNET_ERROR_TYPE_INFO,
1076 "Added new address for `%s', now total %u and active %u addresses in network `%s'\n", 1070 "Added new address for `%s', now total %u and active %u addresses in network `%s'\n",
1077 GNUNET_i2s (&address->peer), 1071 GNUNET_i2s (&address->peer),