diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
commit | 416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch) | |
tree | 987f51d9edfddc02afe1524df5e1156b920c71d4 /src/testing/test_testing_reconnect.c | |
parent | fceec98e767bce7ad2c24dde73cdcf8837e04013 (diff) | |
download | gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip |
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/testing/test_testing_reconnect.c')
-rw-r--r-- | src/testing/test_testing_reconnect.c | 8 |
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) | |||
72 | { | 72 | { |
73 | if (phase < NUM_PHASES) | 73 | if (phase < NUM_PHASES) |
74 | { | 74 | { |
75 | fprintf (stderr, "."); | 75 | FPRINTF (stderr, "%s", "."); |
76 | run_phase (); | 76 | run_phase (); |
77 | return; | 77 | return; |
78 | } | 78 | } |
79 | fprintf (stderr, ".\n"); | 79 | FPRINTF (stderr, "%s", ".\n"); |
80 | #if VERBOSE | 80 | #if VERBOSE |
81 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 81 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
82 | "Both daemons terminated, will now exit.\n"); | 82 | "Both daemons terminated, will now exit.\n"); |
@@ -129,8 +129,8 @@ my_connect_complete (void *cls, const struct GNUNET_PeerIdentity *first, | |||
129 | { | 129 | { |
130 | cc = NULL; | 130 | cc = NULL; |
131 | #if VERBOSE | 131 | #if VERBOSE |
132 | fprintf (stderr, "Peer %s ", GNUNET_i2s (first)); | 132 | FPRINTF (stderr, "Peer %s ", GNUNET_i2s (first)); |
133 | fprintf (stderr, "connected to %s\n", GNUNET_i2s (second)); | 133 | FPRINTF (stderr, "connected to %s\n", GNUNET_i2s (second)); |
134 | #endif | 134 | #endif |
135 | GNUNET_SCHEDULER_add_now (&finish_testing, NULL); | 135 | GNUNET_SCHEDULER_add_now (&finish_testing, NULL); |
136 | } | 136 | } |