X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4eeae4a39bc9faf539b8f819c12b1d1b9f22fc86..fd5e5847eb0f834ce8124f0574bd3cfaf878db53:/settings.c diff --git a/settings.c b/settings.c index 93e50893..59db54d3 100644 --- a/settings.c +++ b/settings.c @@ -287,6 +287,7 @@ void load_settings(char *section, int do_host, Config * cfg) cfg->ssh_subsys = 0; /* FIXME: load this properly */ cfg->remote_cmd_ptr = cfg->remote_cmd; + cfg->remote_cmd_ptr2 = NULL; gpps(sesskey, "HostName", "", cfg->host, sizeof(cfg->host)); gppi(sesskey, "PortNumber", default_port, &cfg->port);