From cb82c6e3e0db91adc8aa65620935f4c9d57f70e9 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 16 Jun 2009 15:22:33 +0000 Subject: [PATCH] - Print banner to stderr. Probably the right way, and avoids bad interactions with multihop or netcat-alike mode. --HG-- extra : convert_revision : 899a8851a5edf840b2f7925bcc26ffe99dcac54d --- cli-auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli-auth.c b/cli-auth.c index 731d769..8b6a440 100644 --- a/cli-auth.c +++ b/cli-auth.c @@ -91,7 +91,7 @@ void recv_msg_userauth_banner() { } } - printf("%s\n", banner); + fprintf(stderr, "%s\n", banner); out: m_free(banner);