From: simon Date: Mon, 15 Nov 2004 11:10:36 +0000 (+0000) Subject: Miloslav Cempirek Ing points out that we should return from X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/431c0a123a639ce9fd52a28bb5df3eab039f1f30?hp=8af95aa3c661363485af56ce631955795ef55f42 Miloslav Cempirek Ing points out that we should return from sessionsaver_handler after processing a one-click saved session launch, to protect against accidentally calling dlg_end twice on the same dialog. git-svn-id: svn://svn.tartarus.org/sgt/putty@4779 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/config.c b/config.c index a7325a1d..99882a17 100644 --- a/config.c +++ b/config.c @@ -362,6 +362,7 @@ static void sessionsaver_handler(union control *ctrl, void *dlg, dlg_end(dlg, 1); } else dlg_beep(dlg); + return; } /*