aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_api.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/dht/test_dht_api.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
downloadgnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz
gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/dht/test_dht_api.c')
-rw-r--r--src/dht/test_dht_api.c4
1 files changed, 2 insertions, 2 deletions
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) &&