Commit a7e60f0c authored by Wayne Davison's avatar Wayne Davison

Only call cleanup_set() if keep_partial is set.

parent 3d7cc571
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment