If a --delay-update can't use the partial-dir (e.g. if a server
daemon excludes the dir or file), update the file without delay.
diff --git a/receiver.c b/receiver.c
index a9a9cd2..b674c14 100644
--- a/receiver.c
+++ b/receiver.c
@@ -514,7 +514,7 @@
exit_cleanup(RERR_FILEIO);
}
- if ((recv_ok && !delay_updates) || inplace) {
+ if ((recv_ok && (!delay_updates || !partialptr)) || inplace) {
finish_transfer(fname, fnametmp, file, recv_ok, 1);
if (partialptr != fname && fnamecmp == partialptr) {
do_unlink(partialptr);