]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Silly error in loading Default Settings - reset port but not protocol
authorSimon Tatham <anakin@pobox.com>
Fri, 22 Oct 1999 15:47:26 +0000 (15:47 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 22 Oct 1999 15:47:26 +0000 (15:47 +0000)
[originally from svn r247]

windlg.c

index 6302c55d8f46cd0361eb5f020bd77d745aefcfb0..e7d58fd6c55d391d13b03f51db7ea55c79676bc3 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -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';
     }