From 54e93041114db7669dccfe37e007f96b09e8b246 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 7 Aug 2002 19:09:33 +0000 Subject: [PATCH] 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] --- cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline.c b/cmdline.c index 05072a77..dab64062 100644 --- a/cmdline.c +++ b/cmdline.c @@ -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); -- 2.45.2