Miloslav Cempirek Ing points out that we should return from
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 15 Nov 2004 11:10:36 +0000 (11:10 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 15 Nov 2004 11:10:36 +0000 (11:10 +0000)
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

index a7325a1..99882a1 100644 (file)
--- 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;
            }
 
            /*