diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-07 12:46:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-07 12:46:37 +0000 |
commit | 6e54571bd00f7ea045dabcd5fc9fc3080665f5fc (patch) | |
tree | e8e204155e5fd9fc8bf6e7620331a9fc484ce78a /src/ats/gnunet-service-ats_addresses.c | |
parent | 577ad3b798f0cd62c2e9ab92fdc58cfe75a3fcdc (diff) | |
download | gnunet-6e54571bd00f7ea045dabcd5fc9fc3080665f5fc.tar.gz gnunet-6e54571bd00f7ea045dabcd5fc9fc3080665f5fc.zip |
simplify logic
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.c')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 0c896e489..78bde6ec2 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "gnunet-service-ats_addresses.h" | 28 | #include "gnunet-service-ats_addresses.h" |
29 | #include "gnunet-service-ats_performance.h" | 29 | #include "gnunet-service-ats_performance.h" |
30 | #include "gnunet-service-ats_normalization.h" | ||
30 | #include "gnunet-service-ats_plugins.h" | 31 | #include "gnunet-service-ats_plugins.h" |
31 | 32 | ||
32 | 33 | ||
@@ -644,9 +645,9 @@ GAS_addresses_update (const struct GNUNET_PeerIdentity *peer, | |||
644 | GNUNET_BANDWIDTH_value_init (aa->assigned_bw_out), | 645 | GNUNET_BANDWIDTH_value_init (aa->assigned_bw_out), |
645 | GNUNET_BANDWIDTH_value_init (aa->assigned_bw_in)); | 646 | GNUNET_BANDWIDTH_value_init (aa->assigned_bw_in)); |
646 | 647 | ||
647 | GAS_plugin_update_address (aa, | 648 | GAS_normalization_normalize_property (aa, |
648 | atsi, | 649 | atsi, |
649 | atsi_count); | 650 | atsi_count); |
650 | } | 651 | } |
651 | GNUNET_free_non_null (atsi_delta); | 652 | GNUNET_free_non_null (atsi_delta); |
652 | } | 653 | } |