From: Wayne Davison Date: Mon, 4 Feb 2008 20:30:19 +0000 (-0800) Subject: Don't try to use recv_xattr_request() with --dry-run. Fixes an X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c0f4228d6689a7c359327226776f421194c36cfa Don't try to use recv_xattr_request() with --dry-run. Fixes an internal abbrev error on the sending side. --- 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