aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/test_gnunet_daemon_hostlist_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/hostlist/test_gnunet_daemon_hostlist_reconnect.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
downloadgnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz
gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_reconnect.c')
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_reconnect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c b/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
index 5dce8df10..92cd7fcc5 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
@@ -113,7 +113,7 @@ notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
113 if (peer == NULL) 113 if (peer == NULL)
114 return; 114 return;
115#if VERBOSE 115#if VERBOSE
116 fprintf (stderr, "Peer %s connected\n", GNUNET_i2s (peer)); 116 FPRINTF (stderr, "Peer %s connected\n", GNUNET_i2s (peer));
117#endif 117#endif
118 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected, shutting down.\n"); 118 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected, shutting down.\n");
119 ok = 0; 119 ok = 0;
@@ -252,10 +252,10 @@ main (int argc, char *argv[])
252 ret = check (); 252 ret = check ();
253 if (ret == 0) 253 if (ret == 0)
254 { 254 {
255 fprintf (stderr, "."); 255 FPRINTF (stderr, "%s", ".");
256 /* now do it again */ 256 /* now do it again */
257 ret = check (); 257 ret = check ();
258 fprintf (stderr, ".\n"); 258 FPRINTF (stderr, "%s", ".\n");
259 } 259 }
260 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-1"); 260 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-1");
261 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-2"); 261 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-2");