projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7aa2715
)
Fix the detect_bugs routine, which was failing to find the right bit
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 29 Mar 2001 13:40:03 +0000
(13:40 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 29 Mar 2001 13:40:03 +0000
(13:40 +0000)
of the version string :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1026
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
dba040b
..
8e5dce7
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-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;