diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-04-20 12:34:00 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-04-20 12:34:00 +0000 |
commit | e8120bf79882bc7f357dae0ddeab4c3d241fba0f (patch) | |
tree | 7824b0f79f3d2dc90f892f13c269a4e6347925d4 /src/transport | |
parent | 3883e08123a017fcad80bce975462f914100738b (diff) | |
download | gnunet-e8120bf79882bc7f357dae0ddeab4c3d241fba0f.tar.gz gnunet-e8120bf79882bc7f357dae0ddeab4c3d241fba0f.zip |
fixed bug
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index cfb51db61..00e26d26a 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -6890,12 +6890,12 @@ ats_calculate_bandwidth_distribution () | |||
6890 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Peers/Addresses were modified... new problem: %i peer, %i mechs\n", ats->stat.c_peers, ats->stat.c_mechs); | 6890 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Peers/Addresses were modified... new problem: %i peer, %i mechs\n", ats->stat.c_peers, ats->stat.c_mechs); |
6891 | #endif | 6891 | #endif |
6892 | } | 6892 | } |
6893 | else if ((ats->modified_addr == GNUNET_NO) && (ats->modified_resources == GNUNET_YES)) | 6893 | else if ((ats->modified_addr == GNUNET_NO) && (ats->modified_resources == GNUNET_YES) && (ats->stat.valid == GNUNET_YES)) |
6894 | { | 6894 | { |
6895 | ats_update_problem_cr(); | 6895 | ats_update_problem_cr(); |
6896 | text = "modified resources"; | 6896 | text = "modified resources"; |
6897 | } | 6897 | } |
6898 | else if ((ats->modified_addr == GNUNET_NO) && (ats->modified_quality == GNUNET_YES)) | 6898 | else if ((ats->modified_addr == GNUNET_NO) && (ats->modified_quality == GNUNET_YES) && (ats->stat.valid == GNUNET_YES)) |
6899 | { | 6899 | { |
6900 | ats_update_problem_qm(); | 6900 | ats_update_problem_qm(); |
6901 | //ats_update_problem_qm_TEST (); | 6901 | //ats_update_problem_qm_TEST (); |