mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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:
parent
cfe56ec836
commit
ab3443b9e6
2
ssh.c
2
ssh.c
@ -1128,7 +1128,9 @@ static void ssh_detect_bugs(char *vstring) {
|
|||||||
char *imp; /* pointer to implementation part */
|
char *imp; /* pointer to implementation part */
|
||||||
imp = vstring;
|
imp = vstring;
|
||||||
imp += strcspn(imp, "-");
|
imp += strcspn(imp, "-");
|
||||||
|
if (*imp) imp++;
|
||||||
imp += strcspn(imp, "-");
|
imp += strcspn(imp, "-");
|
||||||
|
if (*imp) imp++;
|
||||||
|
|
||||||
ssh_remote_bugs = 0;
|
ssh_remote_bugs = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user