From: Wayne Davison Date: Thu, 10 Nov 2005 16:57:30 +0000 (+0000) Subject: Only call cleanup_set() if keep_partial is set. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/a7e60f0c59271ab27b30b24af60d52918b08ee90 Only call cleanup_set() if keep_partial is set. --- diff --git a/receiver.c b/receiver.c index 5a883114..805f0f6c 100644 --- a/receiver.c +++ b/receiver.c @@ -658,7 +658,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name) continue; } - if (partialptr) + if (keep_partial) cleanup_set(fnametmp, partialptr, file, fd1, fd2); }