mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 18:07:59 +00:00
Move an output newline to make username entry in Plink/SSH2 look
more sensible. [originally from svn r2168]
This commit is contained in:
parent
2e25b715e3
commit
a5da5adc07
2
ssh.c
2
ssh.c
@ -4347,8 +4347,8 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt)
|
|||||||
} while (ret == 0);
|
} while (ret == 0);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
cleanup_exit(0);
|
cleanup_exit(0);
|
||||||
}
|
|
||||||
c_write_str(ssh, "\r\n");
|
c_write_str(ssh, "\r\n");
|
||||||
|
}
|
||||||
s->username[strcspn(s->username, "\n\r")] = '\0';
|
s->username[strcspn(s->username, "\n\r")] = '\0';
|
||||||
} else {
|
} else {
|
||||||
char stuff[200];
|
char stuff[200];
|
||||||
|
Loading…
Reference in New Issue
Block a user