From 416c2f5a713b93ba689a8cd1e038682a53e6bc17 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Dec 2011 22:42:04 +0000 Subject: -LRN: use FPRINTF -- #2051 --- src/transport/test_transport_api_timeout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/transport/test_transport_api_timeout.c') 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; #if VERBOSE -#define OKPP do { ok++; fprintf (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) +#define OKPP do { ok++; FPRINTF (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) #else #define OKPP do { ok++; } while (0) #endif @@ -210,13 +210,13 @@ timer (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if (time_running.rel_value == GNUNET_TIME_relative_max (time_running, WAIT).rel_value) { - fprintf (stderr, "100%%\n"); + FPRINTF (stderr, "%s", "100%%\n"); shutdown_flag = GNUNET_YES; GNUNET_SCHEDULER_add_now (&end, NULL); } else { - fprintf (stderr, "%u%%..", percentage); + FPRINTF (stderr, "%u%%..", percentage); timer_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_divide (WAIT, 10), &timer, NULL); -- cgit v1.2.3