From aca339d189b2665f7f1f100a71896f4eb4593081 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Thu, 4 Nov 2021 15:13:33 +0000 Subject: [PATCH] Make BugDropStart default to FORCE_OFF, not AUTO. Since it's a manually-enabled bug compatibility mode, AUTO isn't one of the available UI options. This was causing Windows PuTTY to display a blank entry in the drop-down for "Discards data sent before its greeting". (It is possible that this unhelpful default has escaped into saved sessions of snapshot users, which would have the same effect, but since the actual using code can cope with it, I've not done anything to clean that up.) --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.c b/settings.c index ae0aebe0..89986703 100644 --- a/settings.c +++ b/settings.c @@ -1248,7 +1248,7 @@ void load_open_settings(settings_r *sesskey, Conf *conf) i = gppi_raw(sesskey, "BugOldGex2", 0); conf_set_int(conf, CONF_sshbug_oldgex2, 2-i); i = gppi_raw(sesskey, "BugWinadj", 0); conf_set_int(conf, CONF_sshbug_winadj, 2-i); i = gppi_raw(sesskey, "BugChanReq", 0); conf_set_int(conf, CONF_sshbug_chanreq, 2-i); - i = gppi_raw(sesskey, "BugDropStart", 0); conf_set_int(conf, CONF_sshbug_dropstart, 2-i); + i = gppi_raw(sesskey, "BugDropStart", 1); conf_set_int(conf, CONF_sshbug_dropstart, 2-i); conf_set_bool(conf, CONF_ssh_simple, false); gppb(sesskey, "StampUtmp", true, conf, CONF_stamp_utmp); gppb(sesskey, "LoginShell", true, conf, CONF_login_shell);