diff cli-auth.c @ 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 d58c478bd399
children de3653483ac0
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);