]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Arrgh, we can't have -p for port number because we're already using
authorSimon Tatham <anakin@pobox.com>
Wed, 7 Aug 2002 19:09:33 +0000 (19:09 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 7 Aug 2002 19:09:33 +0000 (19:09 +0000)
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

index 05072a774d3da63b845650a7cc86cd3fa2aa8f2c..dab64062b26d8a7814a477abef1741ae06e65a0b 100644 (file)
--- 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;\r
        cfg.nopty = TRUE;      /* command => no terminal */\r
     }\r
-    if (!strcmp(p, "-P") || !strcmp(p, "-p")) {\r
+    if (!strcmp(p, "-P")) {\r
        RETURN(2);\r
        SAVEABLE(2);                   /* lower priority than -ssh,-telnet */\r
        cfg.port = atoi(value);\r