diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ats/test_ats_solver_add_address_and_request.c | 2 | ||||
-rw-r--r-- | src/ats/test_ats_solver_alternative_after_delete_address.c | 7 | ||||
-rw-r--r-- | src/ats/test_ats_solver_request_and_delete_address.c | 7 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/ats/test_ats_solver_add_address_and_request.c b/src/ats/test_ats_solver_add_address_and_request.c index 6d63cd990..39ffa18ef 100644 --- a/src/ats/test_ats_solver_add_address_and_request.c +++ b/src/ats/test_ats_solver_add_address_and_request.c | |||
@@ -154,7 +154,7 @@ address_suggest_cb (void *cls, | |||
154 | 154 | ||
155 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 155 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
156 | "Received sugggestion for peer `%s'\n", | 156 | "Received sugggestion for peer `%s'\n", |
157 | GNUNET_i2s (&address->peer)); | 157 | GNUNET_i2s (peer)); |
158 | GNUNET_SCHEDULER_add_now (&end, NULL); | 158 | GNUNET_SCHEDULER_add_now (&end, NULL); |
159 | } | 159 | } |
160 | 160 | ||
diff --git a/src/ats/test_ats_solver_alternative_after_delete_address.c b/src/ats/test_ats_solver_alternative_after_delete_address.c index 907ecbfcb..5c01bd2de 100644 --- a/src/ats/test_ats_solver_alternative_after_delete_address.c +++ b/src/ats/test_ats_solver_alternative_after_delete_address.c | |||
@@ -191,9 +191,8 @@ address_suggest_cb (void *cls, | |||
191 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) | 191 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) |
192 | { | 192 | { |
193 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 193 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
194 | "Received a sugggestion for peer `%s' : `%s'\n", | 194 | "Received a sugggestion for peer `%s'\n", |
195 | GNUNET_i2s (&address->peer), (char *) address->address); | 195 | GNUNET_i2s (peer)); |
196 | |||
197 | if (GNUNET_NO == first_address_suggested) | 196 | if (GNUNET_NO == first_address_suggested) |
198 | { | 197 | { |
199 | if (NULL == first_suggestion) | 198 | if (NULL == first_suggestion) |
@@ -214,7 +213,7 @@ address_suggest_cb (void *cls, | |||
214 | 213 | ||
215 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 214 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
216 | "Received 1st sugggestion for peer `%s' : `%s'\n", | 215 | "Received 1st sugggestion for peer `%s' : `%s'\n", |
217 | GNUNET_i2s (&address->peer), (char *) address->address); | 216 | GNUNET_i2s (&address->peer), (char *) address->address); |
218 | 217 | ||
219 | first_suggestion = GNUNET_HELLO_address_copy (address); | 218 | first_suggestion = GNUNET_HELLO_address_copy (address); |
220 | first_address_suggested = GNUNET_YES; | 219 | first_address_suggested = GNUNET_YES; |
diff --git a/src/ats/test_ats_solver_request_and_delete_address.c b/src/ats/test_ats_solver_request_and_delete_address.c index b4ff87828..337285673 100644 --- a/src/ats/test_ats_solver_request_and_delete_address.c +++ b/src/ats/test_ats_solver_request_and_delete_address.c | |||
@@ -155,8 +155,8 @@ address_suggest_cb (void *cls, | |||
155 | GNUNET_assert (ntohl(bandwidth_out.value__) > 0); | 155 | GNUNET_assert (ntohl(bandwidth_out.value__) > 0); |
156 | 156 | ||
157 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 157 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
158 | "Received sugggestion for peer `%s', deleting address\n", | 158 | "Received sugggestion for peer `%s', deleting address\n", |
159 | GNUNET_i2s (&address->peer)); | 159 | GNUNET_i2s (&address->peer)); |
160 | address_deleted = GNUNET_YES; | 160 | address_deleted = GNUNET_YES; |
161 | /* Destroying address and wait for disconnect suggestion */ | 161 | /* Destroying address and wait for disconnect suggestion */ |
162 | GNUNET_ATS_address_destroy (ar); | 162 | GNUNET_ATS_address_destroy (ar); |
@@ -165,10 +165,9 @@ address_suggest_cb (void *cls, | |||
165 | else | 165 | else |
166 | { | 166 | { |
167 | /* Expecting disconnect */ | 167 | /* Expecting disconnect */ |
168 | |||
169 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 168 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
170 | "Received sugggestion for peer `%s': %u %u\n", | 169 | "Received sugggestion for peer `%s': %u %u\n", |
171 | GNUNET_i2s (&address->peer), | 170 | GNUNET_i2s (peer), |
172 | (unsigned int) ntohl (bandwidth_in.value__), | 171 | (unsigned int) ntohl (bandwidth_in.value__), |
173 | (unsigned int) ntohl (bandwidth_out.value__)); | 172 | (unsigned int) ntohl (bandwidth_out.value__)); |
174 | 173 | ||