X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4763c1c2d66bb323b2b94a342cc39abbf1b0b1cb..04c52f109b8c4849d75c21898bdc63fdceea2a00:/settings.c diff --git a/settings.c b/settings.c index aa234fe6..c4804864 100644 --- a/settings.c +++ b/settings.c @@ -406,7 +406,7 @@ void load_open_settings(void *sesskey, int do_host, Config *cfg) char prot[10]; cfg->ssh_subsys = 0; /* FIXME: load this properly */ - cfg->remote_cmd_ptr = cfg->remote_cmd; + cfg->remote_cmd_ptr = NULL; cfg->remote_cmd_ptr2 = NULL; if (do_host) {