1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00: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:
Ben Harris 2005-04-30 14:26:46 +00:00
parent b7f7f4ec72
commit d83cd2f79b

2
ssh.c
View File

@ -2410,7 +2410,7 @@ static int do_ssh_init(Ssh ssh, unsigned char c)
strcspn(verstring, "\015\012"), verstring);
sk_write(ssh->s, verstring, strlen(verstring));
sfree(verstring);
if (ssh->version = 2)
if (ssh->version == 2)
do_ssh2_transport(ssh, NULL, -1, NULL);
}