From ffdbfd42a02cfc7e32a537a45e803edfd3a9b3d3 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Wed, 15 Nov 2006 23:12:20 +0000 Subject: [PATCH] (Config).remote_cmd2[512] was added in r1208, but it wasn't used then and isn't now, so presumably never has been. Remove. [originally from svn r6906] [r1208 == ff9a038cdda2703b96f4a79396efe5b7b8e0aec2] --- putty.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.45.2