diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-30 11:12:23 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-30 11:12:23 +0100 |
commit | 1b6ecff33552bc4f7741b3c0778b901d93527c97 (patch) | |
tree | 183966f9484642157557d15cab07ce03010e0434 | |
parent | 0f707e47a346cbace8f4a889ab85c819bb71df9b (diff) | |
download | paccache-1b6ecff33552bc4f7741b3c0778b901d93527c97.tar.gz paccache-1b6ecff33552bc4f7741b3c0778b901d93527c97.tar.zst |
justify output streams
-rw-r--r-- | pacredir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |