From: simon Date: Fri, 22 Oct 1999 15:47:26 +0000 (+0000) Subject: Silly error in loading Default Settings - reset port but not protocol X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/f25da523d156f0d30858552e0eec860462df1ca8 Silly error in loading Default Settings - reset port but not protocol git-svn-id: svn://svn.tartarus.org/sgt/putty@247 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windlg.c b/windlg.c index 6302c55d..e7d58fd6 100644 --- 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'; }