Commit 9bccfc42 authored by Wayne Davison's avatar Wayne Davison

Should always call finish_transfer() for inplace handling, just like

for keep_partial handling.
parent 077e59b7
......@@ -544,7 +544,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name)
exit_cleanup(RERR_FILEIO);
}
if (recv_ok || keep_partial)
if (recv_ok || keep_partial || inplace)
finish_transfer(fname, fnametmp, file, recv_ok);
else
do_unlink(fnametmp);
......
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