X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e8d6fe62614f1bd21a41aa779188d9d0ec57de22..8d10cbfcb13fb20eeb34441365d8b73d4a6b0e41:/flist.c diff --git a/flist.c b/flist.c index 2fdff344..90c0ce50 100644 --- a/flist.c +++ b/flist.c @@ -2310,7 +2310,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) * file-list to check if this is a 1-file xfer. */ send_extra_file_list(f, 1); } - } + } else + flist_eof = 1; return flist; } @@ -2436,8 +2437,10 @@ struct file_list *recv_file_list(int f) if (inc_recurse) flist_done_allocating(flist); - else if (f >= 0) + else if (f >= 0) { recv_id_list(f, flist); + flist_eof = 1; + } flist_sort_and_clean(flist, relative_paths);