Update an outdated comment.
[u/mdw/putty] / psftp.c
diff --git a/psftp.c b/psftp.c
index f8a2240..e41112a 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -463,6 +463,7 @@ int sftp_get_file(char *fname, char *outfname, int recurse, int restart)
                    printf("error while writing local file\n");
                    ret = 0;
                    xfer_set_error(xfer);
+                   break;
                }
                wpos += wlen;
            }