]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
(Config).remote_cmd2[512] was added in r1208, but it wasn't used then and isn't
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 15 Nov 2006 23:12:20 +0000 (23:12 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 15 Nov 2006 23:12:20 +0000 (23:12 +0000)
now, so presumably never has been. Remove.

[originally from svn r6906]
[r1208 == ff9a038cdda2703b96f4a79396efe5b7b8e0aec2]

putty.h

diff --git a/putty.h b/putty.h
index f5396e4b2bfb6defda5c7708d6bd715708b51064..a821b243200567ffd29b49a30eac443c5e070b6e 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -435,8 +435,6 @@ struct config_tag {
     char proxy_telnet_command[512];
     /* SSH options */
     char remote_cmd[512];
-    char remote_cmd2[512];            /* fallback if the first fails
-                                       * (used internally for scp) */
     char *remote_cmd_ptr;             /* might point to a larger command
                                        * but never for loading/saving */
     char *remote_cmd_ptr2;            /* might point to a larger command
@@ -457,7 +455,7 @@ struct config_tag {
     int try_tis_auth;
     int try_ki_auth;
     int ssh_subsys;                   /* run a subsystem rather than a command */
-    int ssh_subsys2;                  /* fallback to go with remote_cmd2 */
+    int ssh_subsys2;                  /* fallback to go with remote_cmd_ptr2 */
     int ssh_no_shell;                 /* avoid running a shell */
     char ssh_nc_host[512];            /* host to connect to in `nc' mode */
     int ssh_nc_port;                  /* port to connect to in `nc' mode */