aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_timeout.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-30 22:42:04 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-30 22:42:04 +0000
commit416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch)
tree987f51d9edfddc02afe1524df5e1156b920c71d4 /src/transport/test_transport_api_timeout.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
downloadgnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz
gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/transport/test_transport_api_timeout.c')
-rw-r--r--src/transport/test_transport_api_timeout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_transport_api_timeout.c b/src/transport/test_transport_api_timeout.c
index 29f7dd4af..35279ff76 100644
--- a/src/transport/test_transport_api_timeout.c
+++ b/src/transport/test_transport_api_timeout.c
@@ -87,7 +87,7 @@ static int disconnects;
87 87
88 88
89#if VERBOSE 89#if VERBOSE
90#define OKPP do { ok++; fprintf (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) 90#define OKPP do { ok++; FPRINTF (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0)
91#else 91#else
92#define OKPP do { ok++; } while (0) 92#define OKPP do { ok++; } while (0)
93#endif 93#endif
@@ -210,13 +210,13 @@ timer (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
210 if (time_running.rel_value == 210 if (time_running.rel_value ==
211 GNUNET_TIME_relative_max (time_running, WAIT).rel_value) 211 GNUNET_TIME_relative_max (time_running, WAIT).rel_value)
212 { 212 {
213 fprintf (stderr, "100%%\n"); 213 FPRINTF (stderr, "%s", "100%%\n");
214 shutdown_flag = GNUNET_YES; 214 shutdown_flag = GNUNET_YES;
215 GNUNET_SCHEDULER_add_now (&end, NULL); 215 GNUNET_SCHEDULER_add_now (&end, NULL);
216 } 216 }
217 else 217 else
218 { 218 {
219 fprintf (stderr, "%u%%..", percentage); 219 FPRINTF (stderr, "%u%%..", percentage);
220 timer_task = 220 timer_task =
221 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_divide (WAIT, 10), 221 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_divide (WAIT, 10),
222 &timer, NULL); 222 &timer, NULL);