]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Make the !flist_eof assumption explicit before the check_for_io_err
authorWayne Davison <wayned@samba.org>
Sun, 24 Aug 2008 19:54:49 +0000 (12:54 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 24 Aug 2008 19:54:49 +0000 (12:54 -0700)
code calls wait_for_receiver().

generator.c

index f7ebe4772e34e6daa767a417d17542bb9410fc3c..5c3653f33d34cc22119a36950091f2861dd8e2ce 100644 (file)
@@ -2238,7 +2238,7 @@ void generate_files(int f_out, const char *local_name)
                                                dirdev = MAKEDEV(0, 0);
                                        /* We must be sure we've had a chance to receive an I/O
                                         * error for this directory before we delete in it. */
-                                       while (check_for_io_err && !cur_flist->next)
+                                       while (check_for_io_err && !cur_flist->next && !flist_eof)
                                                wait_for_receiver();
                                        delete_in_dir(fbuf, fp, &dirdev);
                                } else