mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +00:00
Fix a typo in my backwards-compatibility wart. Oops.
[originally from svn r3170]
This commit is contained in:
parent
6b362191f1
commit
342b5803e7
@ -416,7 +416,7 @@ void load_open_settings(void *sesskey, int do_host, Config *cfg)
|
|||||||
gppi(sesskey, "ProxyMethod", -1, &cfg->proxy_type);
|
gppi(sesskey, "ProxyMethod", -1, &cfg->proxy_type);
|
||||||
if (cfg->proxy_type == -1) {
|
if (cfg->proxy_type == -1) {
|
||||||
int i;
|
int i;
|
||||||
gppi(sesskey, "ProxyType", -1, &i);
|
gppi(sesskey, "ProxyType", 0, &i);
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
cfg->proxy_type = PROXY_NONE;
|
cfg->proxy_type = PROXY_NONE;
|
||||||
else if (i == 1)
|
else if (i == 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user