X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c9ec460807a53af0f1e2a4c51619c473f972da19..e5f1a96ff8a62685b0499e9c9f17300501bc5c8f:/generator.c diff --git a/generator.c b/generator.c index 8ee5a09c..5f042936 100644 --- a/generator.c +++ b/generator.c @@ -1578,7 +1578,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, goto cleanup; } - if (append_mode > 0 && sx.st.st_size > F_LENGTH(file)) + if (append_mode > 0 && sx.st.st_size >= F_LENGTH(file)) goto cleanup; if (fnamecmp_type <= FNAMECMP_BASIS_DIR_HIGH)