mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Arrgh, we can't have -p for port number because we're already using
it for preserving file attributes in PSCP! Ah well; looks as if that's one where we'll have to agree to differ with OpenSSH. [originally from svn r1821]
This commit is contained in:
parent
b844f3c0bf
commit
54e9304111
@ -222,7 +222,7 @@ int cmdline_process_param(char *p, char *value, int need_save)
|
||||
cfg.remote_cmd_ptr2 = NULL;
|
||||
cfg.nopty = TRUE; /* command => no terminal */
|
||||
}
|
||||
if (!strcmp(p, "-P") || !strcmp(p, "-p")) {
|
||||
if (!strcmp(p, "-P")) {
|
||||
RETURN(2);
|
||||
SAVEABLE(2); /* lower priority than -ssh,-telnet */
|
||||
cfg.port = atoi(value);
|
||||
|
Loading…
Reference in New Issue
Block a user