comparison 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
comparison
equal deleted inserted replaced
544:9e51707cd6f2 545:00e619aa2f9a
89 } 89 }
90 linecount++; 90 linecount++;
91 } 91 }
92 } 92 }
93 93
94 printf("%s\n", banner); 94 fprintf(stderr, "%s\n", banner);
95 95
96 out: 96 out:
97 m_free(banner); 97 m_free(banner);
98 TRACE(("leave recv_msg_userauth_banner")) 98 TRACE(("leave recv_msg_userauth_banner"))
99 } 99 }