"Network error" box. The latter on its own is enough.
git-svn-id: svn://svn.tartarus.org/sgt/putty@911
cda61777-01e9-0310-a592-
d414129be87e
if (cfg.close_on_exit)
PostQuitMessage(0);
else {
- session_closed = TRUE;
- MessageBox(hwnd, "Connection closed by remote host",
- "PuTTY", MB_OK | MB_ICONINFORMATION);
- SetWindowText (hwnd, "PuTTY (inactive)");
+ if (!session_closed) {
+ session_closed = TRUE;
+ SetWindowText (hwnd, "PuTTY (inactive)");
+ MessageBox(hwnd, "Connection closed by remote host",
+ "PuTTY", MB_OK | MB_ICONINFORMATION);
+ }
}
}
}