mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Fix stupid typo that probably utterly broke SSH-1 support, and caused compiles
with GCC to fail. Not sure how it survived long enough to test, really. [originally from svn r5715]
This commit is contained in:
parent
b7f7f4ec72
commit
d83cd2f79b
2
ssh.c
2
ssh.c
@ -2410,7 +2410,7 @@ static int do_ssh_init(Ssh ssh, unsigned char c)
|
|||||||
strcspn(verstring, "\015\012"), verstring);
|
strcspn(verstring, "\015\012"), verstring);
|
||||||
sk_write(ssh->s, verstring, strlen(verstring));
|
sk_write(ssh->s, verstring, strlen(verstring));
|
||||||
sfree(verstring);
|
sfree(verstring);
|
||||||
if (ssh->version = 2)
|
if (ssh->version == 2)
|
||||||
do_ssh2_transport(ssh, NULL, -1, NULL);
|
do_ssh2_transport(ssh, NULL, -1, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user