[master] 5db2901 Revert to using stderr for now

Federico G. Schwindt fgsch at lodoss.net
Tue Oct 25 16:58:05 CEST 2016


commit 5db290135305260e7fffffd996ef087d6293eb5d
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue Oct 25 15:46:57 2016 +0100

    Revert to using stderr for now
    
    We need to veirfy this apparently innocuous change does not have any
    side effects.

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 00bb7e2..a31d1c7 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -769,7 +769,7 @@ main(int argc, char * const *argv)
 			if (Cn_arg == n_arg)
 				AZ(rmdir(Cn_arg));
 			AZ(VSB_finish(cli->sb));
-			printf("%s\n", VSB_data(cli->sb));
+			fprintf(stderr, "%s\n", VSB_data(cli->sb));
 			exit(cli->result == CLIS_OK ? 0 : 2);
 		}
 		cli_check(cli);



More information about the varnish-commit mailing list