X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f51dc0319e586d5809cc251a9767d23638610694..c8ee61b938e106e6638bf5973401fcfa98900286:/settings.c diff --git a/settings.c b/settings.c index 46afb737..41127b89 100644 --- a/settings.c +++ b/settings.c @@ -309,6 +309,8 @@ void save_settings(char *section, int do_host, Config * cfg) write_setting_i(sesskey, "BugDeriveKey2", cfg->sshbug_derivekey2); write_setting_i(sesskey, "BugRSAPad2", cfg->sshbug_rsapad2); write_setting_i(sesskey, "BugDHGEx2", cfg->sshbug_dhgex2); + write_setting_i(sesskey, "StampUtmp", cfg->stamp_utmp); + write_setting_i(sesskey, "LoginShell", cfg->login_shell); close_settings_w(sesskey); } @@ -592,6 +594,8 @@ void load_settings(char *section, int do_host, Config * cfg) gppi(sesskey, "BugDeriveKey2", BUG_AUTO, &i); cfg->sshbug_derivekey2 = i; gppi(sesskey, "BugRSAPad2", BUG_AUTO, &i); cfg->sshbug_rsapad2 = i; gppi(sesskey, "BugDHGEx2", BUG_AUTO, &i); cfg->sshbug_dhgex2 = i; + gppi(sesskey, "StampUtmp", 1, &cfg->stamp_utmp); + gppi(sesskey, "LoginShell", 1, &cfg->login_shell); close_settings_r(sesskey); }