diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-10 23:24:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-10 23:24:01 +0000 |
commit | 1c323bd4cbb388a9e7515a1f733a3062bf093aee (patch) | |
tree | 7cc525d79149d44840b9f7a0040aaf3e69ecd665 /src/ats-tests/ats-testing-preferences.c | |
parent | aedaaed687db1ff20b447378f01ad7306921450c (diff) | |
download | gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.tar.gz gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.zip |
fixing #3657 (replace ATS_Information with struct), but WIHTOUT fixing ATS testcases yet
Diffstat (limited to 'src/ats-tests/ats-testing-preferences.c')
-rw-r--r-- | src/ats-tests/ats-testing-preferences.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ats-tests/ats-testing-preferences.c b/src/ats-tests/ats-testing-preferences.c index 99dbdb0f9..e5f32d6b1 100644 --- a/src/ats-tests/ats-testing-preferences.c +++ b/src/ats-tests/ats-testing-preferences.c | |||
@@ -106,7 +106,10 @@ set_pref_task (void *cls, | |||
106 | GNUNET_ATS_print_preference_type (p->pg->kind), pref_value); | 106 | GNUNET_ATS_print_preference_type (p->pg->kind), pref_value); |
107 | 107 | ||
108 | GNUNET_ATS_performance_change_preference(p->me->ats_perf_handle, | 108 | GNUNET_ATS_performance_change_preference(p->me->ats_perf_handle, |
109 | &p->dest->id, p->pg->kind, pref_value, GNUNET_ATS_PREFERENCE_END); | 109 | &p->dest->id, |
110 | p->pg->kind, | ||
111 | pref_value, | ||
112 | GNUNET_ATS_PREFERENCE_END); | ||
110 | 113 | ||
111 | switch (p->pg->kind) { | 114 | switch (p->pg->kind) { |
112 | case GNUNET_ATS_PREFERENCE_BANDWIDTH: | 115 | case GNUNET_ATS_PREFERENCE_BANDWIDTH: |
@@ -241,4 +244,3 @@ GNUNET_ATS_TEST_generate_preferences_stop_all () | |||
241 | } | 244 | } |
242 | 245 | ||
243 | /* end of file ats-testing-preferences.c */ | 246 | /* end of file ats-testing-preferences.c */ |
244 | |||