projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jordan Russell's patch to match the PuTTY cursor blink rate to the
[u/mdw/putty]
/
plink.c
diff --git
a/plink.c
b/plink.c
index
76ed437
..
ebe5bcc
100644
(file)
--- a/
plink.c
+++ b/
plink.c
@@
-423,8
+423,10
@@
int main(int argc, char **argv) {
strncpy(cfg.host, p, sizeof(cfg.host)-1);
cfg.host[sizeof(cfg.host)-1] = '\0';
cfg.port = default_port;
strncpy(cfg.host, p, sizeof(cfg.host)-1);
cfg.host[sizeof(cfg.host)-1] = '\0';
cfg.port = default_port;
- } else
+ } else
{
cfg = cfg2;
cfg = cfg2;
+ cfg.remote_cmd_ptr = cfg.remote_cmd;
+ }
} else {
*r++ = '\0';
strncpy(cfg.username, p, sizeof(cfg.username)-1);
} else {
*r++ = '\0';
strncpy(cfg.username, p, sizeof(cfg.username)-1);