From 1b6ecff33552bc4f7741b3c0778b901d93527c97 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 30 Oct 2013 11:12:23 +0100 Subject: justify output streams --- pacredir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pacredir.c b/pacredir.c index eaf8134..9755a41 100644 --- a/pacredir.c +++ b/pacredir.c @@ -79,7 +79,7 @@ static void browse_callback(AvahiServiceBrowser *b, AvahiIfIndex interface, Avah host = get_fqdn(name, domain); # if defined DEBUG - fprintf(stderr, "NEW: service '%s' of type '%s' in domain '%s'\n", name, type, domain); + printf("NEW: service '%s' of type '%s' in domain '%s'\n", name, type, domain); # endif if (flags & AVAHI_LOOKUP_RESULT_LOCAL) @@ -122,7 +122,7 @@ out: host = get_fqdn(name, domain); # if defined DEBUG - fprintf(stderr, "REMOVE: service '%s' of type '%s' in domain '%s'\n", name, type, domain); + printf("REMOVE: service '%s' of type '%s' in domain '%s'\n", name, type, domain); # endif while (tmphosts->host != NULL) { @@ -257,7 +257,7 @@ static int ahc_echo(void * cls, struct MHD_Connection * connection, const char * bzero(&fst, sizeof(fst)); if (stat(filename, &fst) != 0) - printf("stat() failed\n"); + fprintf(stderr, "stat() failed, you do not have a local copy of %s\n", basename); else last_modified_recent = fst.st_mtime; -- cgit v1.2.3-70-g09d2