1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Silly error in loading Default Settings - reset port but not protocol

[originally from svn r247]
This commit is contained in:
Simon Tatham 1999-10-22 15:47:26 +00:00
parent c409f643f8
commit 2da19fc59d

View File

@ -235,6 +235,7 @@ static void load_settings (char *section, int do_host) {
else
cfg.protocol = PROT_TELNET;
} else {
cfg.protocol = PROT_TELNET;
cfg.port = 23;
*cfg.host = '\0';
}