summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2011-02-26 23:03:47 +0100
committerSven Wegener <sven.wegener@stealer.net>2011-03-29 22:34:43 +0200
commit968db328338d831638edb06d6ec0446c835dcbca (patch)
treebfcb6dcf426763b40a773198323a5aa0a9e5a134
parent709848cef71e353d43e7feae6550dfd213581db3 (diff)
Pass --fallocate to receiverv3.0.8-patches
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-rw-r--r--options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/options.c b/options.c
index 51a36bc0..854c62bd 100644
--- a/options.c
+++ b/options.c
@@ -2077,6 +2077,9 @@ void server_options(char **args, int *argc_p)
else if (remove_source_files)
args[ac++] = "--remove-sent-files";
+ if (use_fallocate && am_sender)
+ args[ac++] = "--fallocate";
+
if (ac > MAX_SERVER_ARGS) { /* Not possible... */
rprintf(FERROR, "argc overflow in server_options().\n");
exit_cleanup(RERR_MALLOC);