]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - psftp.c
Patches to prevent a couple of silly crashes
[PuTTY.git] / psftp.c
diff --git a/psftp.c b/psftp.c
index f4c254a5d6ebd6440e8752740b975ce267bde89d..deef6d83ee29c0fc3aa64eda37c9d4d322f06c14 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -590,6 +590,7 @@ void do_sftp(void) {
        fprintf(stderr,
                "Fatal: unable to initialise SFTP: %s\n",
                fxp_error());
+       return;
     }
 
     /*