X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d0e498aae5baa06b4043a3cb91142ea5d8f068ae..7f5749db9ede654f6a9daaebc1bcc7590468a1e0:/settings.c diff --git a/settings.c b/settings.c index 3c4c73e3..5040fa25 100644 --- a/settings.c +++ b/settings.c @@ -464,6 +464,7 @@ void load_open_settings(void *sesskey, int do_host, Config *cfg) cfg->ssh_subsys = 0; /* FIXME: load this properly */ cfg->remote_cmd_ptr = NULL; cfg->remote_cmd_ptr2 = NULL; + cfg->ssh_nc_host[0] = '\0'; if (do_host) { gpps(sesskey, "HostName", "", cfg->host, sizeof(cfg->host));