summaryrefslogtreecommitdiff
path: root/sender.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-02-04 12:30:19 -0800
committerWayne Davison <wayned@samba.org>2008-02-04 12:34:02 -0800
commitc0f4228d6689a7c359327226776f421194c36cfa (patch)
treedf08dd4f3ebda78850b7b551e9c5dc8b6450beb9 /sender.c
parentd6e6333a02a900c2863200a0feff4349d4003a8d (diff)
downloadrsync-c0f4228d6689a7c359327226776f421194c36cfa.tar.gz
Don't try to use recv_xattr_request() with --dry-run. Fixes an
internal abbrev error on the sending side.
Diffstat (limited to 'sender.c')
-rw-r--r--sender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sender.c b/sender.c
index fc9c47cb..7ec17b41 100644
--- a/sender.c
+++ b/sender.c
@@ -229,7 +229,7 @@ void send_files(int f_in, int f_out)
rprintf(FINFO, "send_files(%d, %s%s%s)\n", ndx, path,slash,fname);
#ifdef SUPPORT_XATTRS
- if (preserve_xattrs && iflags & ITEM_REPORT_XATTR)
+ if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && !dry_run)
recv_xattr_request(file, f_in);
#endif