aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/gnunet-dht-get.c10
-rw-r--r--src/dht/gnunet-dht-put.c10
-rw-r--r--src/dht/test_dht_api.c4
-rw-r--r--src/dht/test_dht_multipeer.c36
-rw-r--r--src/dht/test_dht_twopeer.c12
-rw-r--r--src/dht/test_dht_twopeer_path_tracking.c12
6 files changed, 42 insertions, 42 deletions
diff --git a/src/dht/gnunet-dht-get.c b/src/dht/gnunet-dht-get.c
index 763ff8e6f..6ad4b30f8 100644
--- a/src/dht/gnunet-dht-get.c
+++ b/src/dht/gnunet-dht-get.c
@@ -129,7 +129,7 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
129 unsigned int put_path_length, enum GNUNET_BLOCK_Type type, 129 unsigned int put_path_length, enum GNUNET_BLOCK_Type type,
130 size_t size, const void *data) 130 size_t size, const void *data)
131{ 131{
132 fprintf (stdout, "Result %d, type %d:\n%.*s\n", result_count, type, 132 FPRINTF (stdout, "Result %d, type %d:\n%.*s\n", result_count, type,
133 (unsigned int) size, (char *) data); 133 (unsigned int) size, (char *) data);
134 result_count++; 134 result_count++;
135} 135}
@@ -155,7 +155,7 @@ run (void *cls, char *const *args, const char *cfgfile,
155 if (query_key == NULL) 155 if (query_key == NULL)
156 { 156 {
157 if (verbose) 157 if (verbose)
158 fprintf (stderr, "Must provide key for DHT GET!\n"); 158 FPRINTF (stderr, "%s", "Must provide key for DHT GET!\n");
159 ret = 1; 159 ret = 1;
160 return; 160 return;
161 } 161 }
@@ -165,12 +165,12 @@ run (void *cls, char *const *args, const char *cfgfile,
165 if (dht_handle == NULL) 165 if (dht_handle == NULL)
166 { 166 {
167 if (verbose) 167 if (verbose)
168 fprintf (stderr, "Couldn't connect to DHT service!\n"); 168 FPRINTF (stderr, "%s", "Couldn't connect to DHT service!\n");
169 ret = 1; 169 ret = 1;
170 return; 170 return;
171 } 171 }
172 else if (verbose) 172 else if (verbose)
173 fprintf (stderr, "Connected to DHT service!\n"); 173 FPRINTF (stderr, "%s", "Connected to DHT service!\n");
174 174
175 if (query_type == GNUNET_BLOCK_TYPE_ANY) /* Type of data not set */ 175 if (query_type == GNUNET_BLOCK_TYPE_ANY) /* Type of data not set */
176 query_type = GNUNET_BLOCK_TYPE_TEST; 176 query_type = GNUNET_BLOCK_TYPE_TEST;
@@ -182,7 +182,7 @@ run (void *cls, char *const *args, const char *cfgfile,
182 absolute_timeout = GNUNET_TIME_relative_to_absolute (timeout); 182 absolute_timeout = GNUNET_TIME_relative_to_absolute (timeout);
183 183
184 if (verbose) 184 if (verbose)
185 fprintf (stderr, "Issuing GET request for %s!\n", query_key); 185 FPRINTF (stderr, "Issuing GET request for %s!\n", query_key);
186 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining 186 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining
187 (absolute_timeout), &cleanup_task, NULL); 187 (absolute_timeout), &cleanup_task, NULL);
188 get_handle = 188 get_handle =
diff --git a/src/dht/gnunet-dht-put.c b/src/dht/gnunet-dht-put.c
index 079a8866e..ef5ae5ea7 100644
--- a/src/dht/gnunet-dht-put.c
+++ b/src/dht/gnunet-dht-put.c
@@ -97,7 +97,7 @@ void
97message_sent_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 97message_sent_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
98{ 98{
99 if (verbose) 99 if (verbose)
100 fprintf (stderr, _("PUT request sent!\n")); 100 FPRINTF (stderr, "%s", _("PUT request sent!\n"));
101 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL); 101 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
102} 102}
103 103
@@ -121,7 +121,7 @@ run (void *cls, char *const *args, const char *cfgfile,
121 121
122 if ((query_key == NULL) || (data == NULL)) 122 if ((query_key == NULL) || (data == NULL))
123 { 123 {
124 fprintf (stderr, _("Must provide KEY and DATA for DHT put!\n")); 124 FPRINTF (stderr, "%s", _("Must provide KEY and DATA for DHT put!\n"));
125 ret = 1; 125 ret = 1;
126 return; 126 return;
127 } 127 }
@@ -129,12 +129,12 @@ run (void *cls, char *const *args, const char *cfgfile,
129 dht_handle = GNUNET_DHT_connect (cfg, 1); 129 dht_handle = GNUNET_DHT_connect (cfg, 1);
130 if (dht_handle == NULL) 130 if (dht_handle == NULL)
131 { 131 {
132 fprintf (stderr, _("Could not connect to %s service!\n"), "DHT"); 132 FPRINTF (stderr, _("Could not connect to %s service!\n"), "DHT");
133 ret = 1; 133 ret = 1;
134 return; 134 return;
135 } 135 }
136 else if (verbose) 136 else if (verbose)
137 fprintf (stderr, _("Connected to %s service!\n"), "DHT"); 137 FPRINTF (stderr, _("Connected to %s service!\n"), "DHT");
138 138
139 if (query_type == GNUNET_BLOCK_TYPE_ANY) /* Type of data not set */ 139 if (query_type == GNUNET_BLOCK_TYPE_ANY) /* Type of data not set */
140 query_type = GNUNET_BLOCK_TYPE_TEST; 140 query_type = GNUNET_BLOCK_TYPE_TEST;
@@ -149,7 +149,7 @@ run (void *cls, char *const *args, const char *cfgfile,
149 expiration_seconds)); 149 expiration_seconds));
150 150
151 if (verbose) 151 if (verbose)
152 fprintf (stderr, _("Issuing put request for `%s' with data `%s'!\n"), 152 FPRINTF (stderr, _("Issuing put request for `%s' with data `%s'!\n"),
153 query_key, data); 153 query_key, data);
154 GNUNET_DHT_put (dht_handle, &key, replication, GNUNET_DHT_RO_NONE, query_type, 154 GNUNET_DHT_put (dht_handle, &key, replication, GNUNET_DHT_RO_NONE, query_type,
155 strlen (data), data, expiration, timeout, &message_sent_cont, 155 strlen (data), data, expiration, timeout, &message_sent_cont,
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c
index e636c08ba..4ec2f2ae9 100644
--- a/src/dht/test_dht_api.c
+++ b/src/dht/test_dht_api.c
@@ -97,7 +97,7 @@ static int ok;
97static GNUNET_SCHEDULER_TaskIdentifier die_task; 97static GNUNET_SCHEDULER_TaskIdentifier die_task;
98 98
99#if VERBOSE 99#if VERBOSE
100#define OKPP do { ok++; fprintf (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) 100#define OKPP do { ok++; FPRINTF (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0)
101#else 101#else
102#define OKPP do { ok++; } while (0) 102#define OKPP do { ok++; } while (0)
103#endif 103#endif
@@ -133,7 +133,7 @@ end_badly ()
133{ 133{
134 /* do work here */ 134 /* do work here */
135#if VERBOSE 135#if VERBOSE
136 fprintf (stderr, "Ending on an unhappy note.\n"); 136 FPRINTF (stderr, "%s", "Ending on an unhappy note.\n");
137#endif 137#endif
138 138
139 if ((retry_context.peer_ctx != NULL) && 139 if ((retry_context.peer_ctx != NULL) &&
diff --git a/src/dht/test_dht_multipeer.c b/src/dht/test_dht_multipeer.c
index 1a4fbaf13..8aba2743d 100644
--- a/src/dht/test_dht_multipeer.c
+++ b/src/dht/test_dht_multipeer.c
@@ -220,7 +220,7 @@ shutdown_callback (void *cls, const char *emsg)
220{ 220{
221 if (emsg != NULL) 221 if (emsg != NULL)
222 { 222 {
223 fprintf (stderr, "Failed to shutdown testing topology: %s\n", emsg); 223 FPRINTF (stderr, "Failed to shutdown testing topology: %s\n", emsg);
224 if (ok == 0) 224 if (ok == 0)
225 ok = 2; 225 ok = 2;
226 } 226 }
@@ -311,7 +311,7 @@ print_stat (void *cls, const char *subsystem, const char *name, uint64_t value,
311 struct StatMaster *sm = cls; 311 struct StatMaster *sm = cls;
312 312
313 stats[sm->value].total += value; 313 stats[sm->value].total += value;
314 fprintf (stderr, "Peer %2u: %12s/%50s = %12llu\n", sm->daemon, subsystem, 314 FPRINTF (stderr, "Peer %2u: %12s/%50s = %12llu\n", sm->daemon, subsystem,
315 name, (unsigned long long) value); 315 name, (unsigned long long) value);
316 return GNUNET_OK; 316 return GNUNET_OK;
317} 317}
@@ -369,7 +369,7 @@ stat_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
369 i = 0; 369 i = 0;
370 while (stats[i].name != NULL) 370 while (stats[i].name != NULL)
371 { 371 {
372 fprintf (stderr, "Total : %12s/%50s = %12llu\n", stats[i].subsystem, 372 FPRINTF (stderr, "Total : %12s/%50s = %12llu\n", stats[i].subsystem,
373 stats[i].name, (unsigned long long) stats[i].total); 373 stats[i].name, (unsigned long long) stats[i].total);
374 i++; 374 i++;
375 } 375 }
@@ -439,7 +439,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
439 struct TestGetContext *test_get; 439 struct TestGetContext *test_get;
440 440
441 die_task = GNUNET_SCHEDULER_NO_TASK; 441 die_task = GNUNET_SCHEDULER_NO_TASK;
442 fprintf (stderr, "Failing test with error: `%s'!\n", emsg); 442 FPRINTF (stderr, "Failing test with error: `%s'!\n", emsg);
443 while (NULL != (test_put = all_puts_head)) 443 while (NULL != (test_put = all_puts_head))
444 { 444 {
445 if (test_put->task != GNUNET_SCHEDULER_NO_TASK) 445 if (test_put->task != GNUNET_SCHEDULER_NO_TASK)
@@ -484,7 +484,7 @@ get_stop_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
484 if (test_get->succeeded != GNUNET_YES) 484 if (test_get->succeeded != GNUNET_YES)
485 { 485 {
486 gets_failed++; 486 gets_failed++;
487 fprintf (stderr, "Get from peer %s for key %s failed!\n", 487 FPRINTF (stderr, "Get from peer %s for key %s failed!\n",
488 GNUNET_i2s (&test_get->daemon->id), GNUNET_h2s (&search_key)); 488 GNUNET_i2s (&test_get->daemon->id), GNUNET_h2s (&search_key));
489 } 489 }
490 GNUNET_assert (test_get->get_handle != NULL); 490 GNUNET_assert (test_get->get_handle != NULL);
@@ -500,7 +500,7 @@ get_stop_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
500 if ((gets_failed > 10) && (outstanding_gets == 0)) 500 if ((gets_failed > 10) && (outstanding_gets == 0))
501 { 501 {
502 /* Had more than 10% failures */ 502 /* Had more than 10% failures */
503 fprintf (stderr, "%llu gets succeeded, %llu gets failed!\n", gets_completed, 503 FPRINTF (stderr, "%llu gets succeeded, %llu gets failed!\n", gets_completed,
504 gets_failed); 504 gets_failed);
505 GNUNET_SCHEDULER_cancel (die_task); 505 GNUNET_SCHEDULER_cancel (die_task);
506 ok = 1; 506 ok = 1;
@@ -510,7 +510,7 @@ get_stop_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
510 } 510 }
511 if ((gets_completed + gets_failed == num_peers * num_peers) && (outstanding_gets == 0)) /* All gets successful */ 511 if ((gets_completed + gets_failed == num_peers * num_peers) && (outstanding_gets == 0)) /* All gets successful */
512 { 512 {
513 fprintf (stderr, "%llu gets succeeded, %llu gets failed!\n", gets_completed, 513 FPRINTF (stderr, "%llu gets succeeded, %llu gets failed!\n", gets_completed,
514 gets_failed); 514 gets_failed);
515 GNUNET_SCHEDULER_cancel (die_task); 515 GNUNET_SCHEDULER_cancel (die_task);
516 ok = 0; 516 ok = 0;
@@ -552,19 +552,19 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
552 { 552 {
553 unsigned int i; 553 unsigned int i;
554 554
555 fprintf (stderr, "PUT (%u) Path: ", test_get->uid); 555 FPRINTF (stderr, "PUT (%u) Path: ", test_get->uid);
556 for (i = 0; i < put_path_length; i++) 556 for (i = 0; i < put_path_length; i++)
557 fprintf (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&put_path[i])); 557 FPRINTF (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&put_path[i]));
558 fprintf (stderr, "\n"); 558 FPRINTF (stderr, "%s", "\n");
559 } 559 }
560 if (get_path != NULL) 560 if (get_path != NULL)
561 { 561 {
562 unsigned int i; 562 unsigned int i;
563 563
564 fprintf (stderr, "GET (%u) Path: ", test_get->uid); 564 FPRINTF (stderr, "GET (%u) Path: ", test_get->uid);
565 for (i = 0; i < get_path_length; i++) 565 for (i = 0; i < get_path_length; i++)
566 fprintf (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&get_path[i])); 566 FPRINTF (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&get_path[i]));
567 fprintf (stderr, "%s%s\n", get_path_length > 0 ? "->" : "", 567 FPRINTF (stderr, "%s%s\n", get_path_length > 0 ? "->" : "",
568 GNUNET_i2s (&test_get->daemon->id)); 568 GNUNET_i2s (&test_get->daemon->id));
569 } 569 }
570#endif 570#endif
@@ -572,7 +572,7 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
572 if ((0 != memcmp (&search_key, key, sizeof (GNUNET_HashCode))) || 572 if ((0 != memcmp (&search_key, key, sizeof (GNUNET_HashCode))) ||
573 (0 != memcmp (original_data, data, sizeof (original_data)))) 573 (0 != memcmp (original_data, data, sizeof (original_data))))
574 { 574 {
575 fprintf (stderr, "Key or data is not the same as was inserted!\n"); 575 FPRINTF (stderr, "%s", "Key or data is not the same as was inserted!\n");
576 return; 576 return;
577 } 577 }
578 gets_completed++; 578 gets_completed++;
@@ -639,7 +639,7 @@ start_gets (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
639 struct TestGetContext *test_get; 639 struct TestGetContext *test_get;
640 640
641#if VERBOSE 641#if VERBOSE
642 fprintf (stderr, "Issuing %llu GETs\n", 642 FPRINTF (stderr, "Issuing %llu GETs\n",
643 (unsigned long long) (num_peers * num_peers)); 643 (unsigned long long) (num_peers * num_peers));
644#endif 644#endif
645 for (i = 0; i < num_peers; i++) 645 for (i = 0; i < num_peers; i++)
@@ -697,7 +697,7 @@ do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
697 GNUNET_assert (test_put->dht_handle != NULL); 697 GNUNET_assert (test_put->dht_handle != NULL);
698 outstanding_puts++; 698 outstanding_puts++;
699#if VERBOSE > 2 699#if VERBOSE > 2
700 fprintf (stderr, "PUT %u at `%s'\n", test_put->uid, 700 FPRINTF (stderr, "PUT %u at `%s'\n", test_put->uid,
701 GNUNET_i2s (&test_put->daemon->id)); 701 GNUNET_i2s (&test_put->daemon->id));
702#endif 702#endif
703 GNUNET_DHT_put (test_put->dht_handle, &key, 1, route_option, 703 GNUNET_DHT_put (test_put->dht_handle, &key, 1, route_option,
@@ -725,7 +725,7 @@ run_dht_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
725 die_task = 725 die_task =
726 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, 726 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly,
727 "from setup puts/gets"); 727 "from setup puts/gets");
728 fprintf (stderr, "Issuing %llu PUTs (one per peer)\n", 728 FPRINTF (stderr, "Issuing %llu PUTs (one per peer)\n",
729 (unsigned long long) (num_peers * num_peers)); 729 (unsigned long long) (num_peers * num_peers));
730 for (i = 0; i < num_peers * num_peers; i++) 730 for (i = 0; i < num_peers * num_peers; i++)
731 { 731 {
@@ -750,7 +750,7 @@ startup_done (void *cls, const char *emsg)
750{ 750{
751 if (emsg != NULL) 751 if (emsg != NULL)
752 { 752 {
753 fprintf (stderr, "Failed to setup topology: %s\n", emsg); 753 FPRINTF (stderr, "Failed to setup topology: %s\n", emsg);
754 die_task = GNUNET_SCHEDULER_add_now (&end_badly, "topology setup failed"); 754 die_task = GNUNET_SCHEDULER_add_now (&end_badly, "topology setup failed");
755 return; 755 return;
756 } 756 }
diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c
index 04198b48b..2adfda0ef 100644
--- a/src/dht/test_dht_twopeer.c
+++ b/src/dht/test_dht_twopeer.c
@@ -138,7 +138,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
138{ 138{
139 const char *emsg = cls; 139 const char *emsg = cls;
140 140
141 fprintf (stderr, "Error: %s\n", emsg); 141 FPRINTF (stderr, "Error: %s\n", emsg);
142 if (curr_get_ctx.retry_task != GNUNET_SCHEDULER_NO_TASK) 142 if (curr_get_ctx.retry_task != GNUNET_SCHEDULER_NO_TASK)
143 { 143 {
144 GNUNET_SCHEDULER_cancel (curr_get_ctx.retry_task); 144 GNUNET_SCHEDULER_cancel (curr_get_ctx.retry_task);
@@ -183,7 +183,7 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
183 if (0 != 183 if (0 !=
184 memcmp (&get_context->peer->hashPubKey, key, sizeof (GNUNET_HashCode))) 184 memcmp (&get_context->peer->hashPubKey, key, sizeof (GNUNET_HashCode)))
185 { 185 {
186 fprintf (stderr, "??\n"); 186 FPRINTF (stderr, "%s", "??\n");
187 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 187 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
188 "Key returned is not the same key as was searched for!\n"); 188 "Key returned is not the same key as was searched for!\n");
189 GNUNET_SCHEDULER_cancel (die_task); 189 GNUNET_SCHEDULER_cancel (die_task);
@@ -192,7 +192,7 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
192 "key mismatch in get response!\n"); 192 "key mismatch in get response!\n");
193 return; 193 return;
194 } 194 }
195 fprintf (stderr, "!\n"); 195 FPRINTF (stderr, "%s", "!\n");
196 if (get_context->retry_task != GNUNET_SCHEDULER_NO_TASK) 196 if (get_context->retry_task != GNUNET_SCHEDULER_NO_TASK)
197 { 197 {
198 GNUNET_SCHEDULER_cancel (get_context->retry_task); 198 GNUNET_SCHEDULER_cancel (get_context->retry_task);
@@ -234,7 +234,7 @@ get_stop_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
234 get_context->get_attempts); 234 get_context->get_attempts);
235 else 235 else
236 { 236 {
237 fprintf (stderr, "?\n"); 237 FPRINTF (stderr, "%s", "?\n");
238 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 238 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
239 "Too many attempts failed, ending test!\n", 239 "Too many attempts failed, ending test!\n",
240 get_context->get_attempts); 240 get_context->get_attempts);
@@ -244,7 +244,7 @@ get_stop_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
244 "GET attempt failed, ending test!\n"); 244 "GET attempt failed, ending test!\n");
245 return; 245 return;
246 } 246 }
247 fprintf (stderr, "."); 247 FPRINTF (stderr, "%s", ".");
248 get_context->get_attempts++; 248 get_context->get_attempts++;
249 get_context->retry_task = 249 get_context->retry_task =
250 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply 250 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
@@ -381,7 +381,7 @@ peers_started_callback (void *cls, const struct GNUNET_PeerIdentity *id,
381{ 381{
382 if (emsg != NULL) 382 if (emsg != NULL)
383 { 383 {
384 fprintf (stderr, "Failed to start daemon: `%s'\n", emsg); 384 FPRINTF (stderr, "Failed to start daemon: `%s'\n", emsg);
385 return; 385 return;
386 } 386 }
387 GNUNET_assert (id != NULL); 387 GNUNET_assert (id != NULL);
diff --git a/src/dht/test_dht_twopeer_path_tracking.c b/src/dht/test_dht_twopeer_path_tracking.c
index 61a3df0a4..c30a3f327 100644
--- a/src/dht/test_dht_twopeer_path_tracking.c
+++ b/src/dht/test_dht_twopeer_path_tracking.c
@@ -219,17 +219,17 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
219#if VERBOSE 219#if VERBOSE
220 if (put_path != NULL) 220 if (put_path != NULL)
221 { 221 {
222 fprintf (stderr, "PUT Path: "); 222 FPRINTF (stderr, "%s", "PUT Path: ");
223 for (i = 0; i < put_path_length; i++) 223 for (i = 0; i < put_path_length; i++)
224 fprintf (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&put_path[i])); 224 FPRINTF (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&put_path[i]));
225 fprintf (stderr, "\n"); 225 FPRINTF (stderr, "%s", "\n");
226 } 226 }
227 if (get_path != NULL) 227 if (get_path != NULL)
228 { 228 {
229 fprintf (stderr, "GET Path: "); 229 FPRINTF (stderr, "%s", "GET Path: ");
230 for (i = 0; i < get_path_length; i++) 230 for (i = 0; i < get_path_length; i++)
231 fprintf (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&get_path[i])); 231 FPRINTF (stderr, "%s%s", i == 0 ? "" : "->", GNUNET_i2s (&get_path[i]));
232 fprintf (stderr, "\n"); 232 FPRINTF (stderr, "%s", "\n");
233 } 233 }
234#endif 234#endif
235 235