From a5da5adc07e2a5924e8f86b0a5887b998087ee5b Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 1 Nov 2002 12:53:45 +0000 Subject: [PATCH] Move an output newline to make username entry in Plink/SSH2 look more sensible. [originally from svn r2168] --- ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index 4083c8da..83f23f03 100644 --- a/ssh.c +++ b/ssh.c @@ -4347,8 +4347,8 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt) } while (ret == 0); if (ret < 0) cleanup_exit(0); + c_write_str(ssh, "\r\n"); } - c_write_str(ssh, "\r\n"); s->username[strcspn(s->username, "\n\r")] = '\0'; } else { char stuff[200];