(Config).remote_cmd2[512] was added in r1208, but it wasn't used then and isn't
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 15 Nov 2006 23:12:20 +0000 (23:12 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 15 Nov 2006 23:12:20 +0000 (23:12 +0000)
now, so presumably never has been. Remove.

git-svn-id: svn://svn.tartarus.org/sgt/putty@6906 cda61777-01e9-0310-a592-d414129be87e

putty.h

diff --git a/putty.h b/putty.h
index f5396e4..a821b24 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 */