From 431c0a123a639ce9fd52a28bb5df3eab039f1f30 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 15 Nov 2004 11:10:36 +0000 Subject: [PATCH] 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 --- config.c | 1 + 1 file changed, 1 insertion(+) 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; } /* -- 2.11.0