X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fhostlist%2Ftest_gnunet_daemon_hostlist_reconnect.c;h=92cd7fcc593efb073447fe4d1a025b29080869bf;hb=3b40545e6ff8a6938e742178dceeaebcb2baf304;hp=ae5c1b6dd9521728f2dd6ae6ece6ad32be34f291;hpb=a5d0694571db763efd0787a680168492f325b2e6;p=oweals%2Fgnunet.git diff --git a/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c b/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c index ae5c1b6dd..92cd7fcc5 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c +++ b/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c @@ -108,13 +108,12 @@ timeout_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) */ static void notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, - const struct GNUNET_TRANSPORT_ATS_Information *ats, - uint32_t ats_count) + const struct GNUNET_ATS_Information *ats, uint32_t ats_count) { if (peer == NULL) return; #if VERBOSE - fprintf (stderr, "Peer %s connected\n", GNUNET_i2s (peer)); + FPRINTF (stderr, "Peer %s connected\n", GNUNET_i2s (peer)); #endif GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected, shutting down.\n"); ok = 0; @@ -253,10 +252,10 @@ main (int argc, char *argv[]) ret = check (); if (ret == 0) { - fprintf (stderr, "."); + FPRINTF (stderr, "%s", "."); /* now do it again */ ret = check (); - fprintf (stderr, ".\n"); + FPRINTF (stderr, "%s", ".\n"); } GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-1"); GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-2");