~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Port forwarding bug fix: we were unable to handle receiving
[sgt/putty]
/
plink.c
diff --git
a/plink.c
b/plink.c
index
2802feb
..
d8ef32b
100644
(file)
--- a/
plink.c
+++ b/
plink.c
@@
-471,6
+471,7
@@
int main(int argc, char **argv)
command[cmdlen++] = d;
} while (c != EOF);
cfg.remote_cmd_ptr = command;
+ cfg.remote_cmd_ptr2 = NULL;
cfg.nopty = TRUE; /* command => no terminal */
} else if (!strcmp(p, "-P") && argc > 1) {
--argc, portnumber = atoi(*++argv);