]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - config.c
Add plain-Unix binaries to the `make clean' list in the OS X makefile.
[PuTTY.git] / config.c
index 8250e1c425e1539168e01cac91de02a469916a8f..1501f6191a4872ab309307ac2a36da81921a26d9 100644 (file)
--- a/config.c
+++ b/config.c
@@ -402,7 +402,7 @@ static void sessionsaver_handler(union control *ctrl, void *dlg,
                /* If at this point we have a valid session, go! */
                if (*cfg2.host) {
                    *cfg = cfg2;       /* structure copy */
-                   cfg->remote_cmd_ptr = cfg->remote_cmd; /* nasty */
+                   cfg->remote_cmd_ptr = NULL;
                    dlg_end(dlg, 1);
                } else
                    dlg_beep(dlg);