]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Fix a typo in my backwards-compatibility wart. Oops.
authorSimon Tatham <anakin@pobox.com>
Thu, 8 May 2003 09:07:37 +0000 (09:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 8 May 2003 09:07:37 +0000 (09:07 +0000)
git-svn-id: http://svn.tartarus.org/sgt/putty@3170 cda61777-01e9-0310-a592-d414129be87e

settings.c

index 216a3eeb89af8d34403eef2781ee29ce9bec4b29..0087b0f6a29a861c94907dfa4d010584985149fc 100644 (file)
@@ -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)