X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8eebd22198133e95ce25af1dd15dead0a5389371..b8954c2c769d327a23acd90fbfc7f189f1579860:/settings.c?ds=sidebyside diff --git a/settings.c b/settings.c index 8764bb32..febd9505 100644 --- a/settings.c +++ b/settings.c @@ -366,7 +366,7 @@ void load_settings(char *section, int do_host, Config * cfg) sizeof(cfg->proxy_username)); gpps(sesskey, "ProxyPassword", "", cfg->proxy_password, sizeof(cfg->proxy_password)); - gpps(sesskey, "ProxyTelnetCommand", "connect %host %port", + gpps(sesskey, "ProxyTelnetCommand", "connect %host %port\\n", cfg->proxy_telnet_command, sizeof(cfg->proxy_telnet_command)); gppi(sesskey, "ProxySOCKSVersion", 5, &cfg->proxy_socks_version);