Makefile.lcc mentions version.o instead of .obj (not that it matters, probably)
[u/mdw/putty] / ssh.c
diff --git a/ssh.c b/ssh.c
index 7df67eb..b9d906d 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -2933,6 +2933,7 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
         if (s->dlgret == 0) {
             ssh->close_expected = TRUE;
             ssh_closing((Plug)ssh, NULL, 0, 0);
+           crStop(0);
         }
     }
 
@@ -3013,6 +3014,7 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
            if (s->dlgret == 0) {
                ssh->close_expected = TRUE;
                ssh_closing((Plug)ssh, NULL, 0, 0);
+               crStop(0);
            }
         }
     }