X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/2ce7b782b3f82f7616a547c4793284fcccb4bc9a..d14b9ab25f32c3eb52088ba3edc3e5d7f22da5be:/settings.c diff --git a/settings.c b/settings.c index 216a3eeb..0087b0f6 100644 --- a/settings.c +++ b/settings.c @@ -416,7 +416,7 @@ void load_open_settings(void *sesskey, int do_host, Config *cfg) gppi(sesskey, "ProxyMethod", -1, &cfg->proxy_type); if (cfg->proxy_type == -1) { int i; - gppi(sesskey, "ProxyType", -1, &i); + gppi(sesskey, "ProxyType", 0, &i); if (i == 0) cfg->proxy_type = PROXY_NONE; else if (i == 1)