mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 09:07:33 -05:00
Various error-handling fixes, mostly in Unix PuTTY but one (failure
to save a session) crosses over into the platform-independent side. [originally from svn r3041]
This commit is contained in:
8
config.c
8
config.c
@ -305,7 +305,13 @@ static void sessionsaver_handler(union control *ctrl, void *dlg,
|
||||
savedsession[0] = '\0';
|
||||
}
|
||||
}
|
||||
save_settings(savedsession, !isdef, cfg);
|
||||
{
|
||||
char *errmsg = save_settings(savedsession, !isdef, cfg);
|
||||
if (errmsg) {
|
||||
dlg_error_msg(dlg, errmsg);
|
||||
sfree(errmsg);
|
||||
}
|
||||
}
|
||||
get_sesslist(ssd->sesslist, FALSE);
|
||||
get_sesslist(ssd->sesslist, TRUE);
|
||||
dlg_refresh(ssd->editbox, dlg);
|
||||
|
Reference in New Issue
Block a user