summaryrefslogtreecommitdiff
path: root/src/testing/test_testing_reconnect.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/testing/test_testing_reconnect.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/testing/test_testing_reconnect.c')
-rw-r--r--src/testing/test_testing_reconnect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_testing_reconnect.c b/src/testing/test_testing_reconnect.c
index 20c628c6a..bcee38659 100644
--- a/src/testing/test_testing_reconnect.c
+++ b/src/testing/test_testing_reconnect.c
@@ -72,11 +72,11 @@ end2_cb (void *cls, const char *emsg)
{
if (phase < NUM_PHASES)
{
- fprintf (stderr, ".");
+ FPRINTF (stderr, "%s", ".");
run_phase ();
return;
}
- fprintf (stderr, ".\n");
+ FPRINTF (stderr, "%s", ".\n");
#if VERBOSE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Both daemons terminated, will now exit.\n");
@@ -129,8 +129,8 @@ my_connect_complete (void *cls, const struct GNUNET_PeerIdentity *first,
{
cc = NULL;
#if VERBOSE
- fprintf (stderr, "Peer %s ", GNUNET_i2s (first));
- fprintf (stderr, "connected to %s\n", GNUNET_i2s (second));
+ FPRINTF (stderr, "Peer %s ", GNUNET_i2s (first));
+ FPRINTF (stderr, "connected to %s\n", GNUNET_i2s (second));
#endif
GNUNET_SCHEDULER_add_now (&finish_testing, NULL);
}