changeset 545:00e619aa2f9a

- Print banner to stderr. Probably the right way, and avoids bad interactions with multihop or netcat-alike mode.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 16 Jun 2009 15:22:33 +0000
parents 9e51707cd6f2
children 568638be7203 8711f20b89ab
files cli-auth.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-auth.c	Fri Jun 12 14:58:43 2009 +0000
+++ b/cli-auth.c	Tue Jun 16 15:22:33 2009 +0000
@@ -91,7 +91,7 @@
 		}
 	}
 
-	printf("%s\n", banner);
+	fprintf(stderr, "%s\n", banner);
 
 out:
 	m_free(banner);