1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Fix the detect_bugs routine, which was failing to find the right bit

of the version string :-)

[originally from svn r1026]
This commit is contained in:
Simon Tatham 2001-03-29 13:40:03 +00:00
parent cfe56ec836
commit ab3443b9e6

2
ssh.c
View File

@ -1128,7 +1128,9 @@ static void ssh_detect_bugs(char *vstring) {
char *imp; /* pointer to implementation part */
imp = vstring;
imp += strcspn(imp, "-");
if (*imp) imp++;
imp += strcspn(imp, "-");
if (*imp) imp++;
ssh_remote_bugs = 0;