Applying my updated version of Craig Barratt's buffered I/O patch.
[rsync.git] / flist.c
diff --git a/flist.c b/flist.c
index 9da5c73f30bd5670f998179918cd934f3643fb0e..f905fb87a87cdef1f9ae70afc51e8802cd9f2050 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -924,7 +924,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
        flist = flist_new();
 
        if (f != -1) {
-               io_start_buffering(f);
+               io_start_buffering_out(f);
                if (filesfrom_fd >= 0) {
                        if (argv[0] && !push_dir(argv[0], 0)) {
                                rprintf(FERROR, "push_dir %s failed: %s\n",