From: jacob Date: Wed, 15 Nov 2006 23:12:20 +0000 (+0000) Subject: (Config).remote_cmd2[512] was added in r1208, but it wasn't used then and isn't X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/d0e498aae5baa06b4043a3cb91142ea5d8f068ae?ds=sidebyside (Config).remote_cmd2[512] was added in r1208, but it wasn't used then and isn't now, so presumably never has been. Remove. git-svn-id: svn://svn.tartarus.org/sgt/putty@6906 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/putty.h b/putty.h index f5396e4b..a821b243 100644 --- 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 */