diff options
Diffstat (limited to 'src/ats/plugin_ats_mlp.c')
-rw-r--r-- | src/ats/plugin_ats_mlp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_mlp.c b/src/ats/plugin_ats_mlp.c index 1ceb294ca..1c93915cf 100644 --- a/src/ats/plugin_ats_mlp.c +++ b/src/ats/plugin_ats_mlp.c | |||
@@ -1681,7 +1681,7 @@ get_peer_pref_value (struct GAS_MLP_Handle *mlp, const struct GNUNET_PeerIdentit | |||
1681 | int c; | 1681 | int c; |
1682 | preferences = mlp->get_preferences (mlp->get_preferences_cls, peer); | 1682 | preferences = mlp->get_preferences (mlp->get_preferences_cls, peer); |
1683 | 1683 | ||
1684 | res = 0.0; | 1684 | res = 1.0; |
1685 | for (c = 0; c < GNUNET_ATS_PreferenceCount; c++) | 1685 | for (c = 0; c < GNUNET_ATS_PreferenceCount; c++) |
1686 | { | 1686 | { |
1687 | if (c != GNUNET_ATS_PREFERENCE_END) | 1687 | if (c != GNUNET_ATS_PREFERENCE_END) |