From c0f4228d6689a7c359327226776f421194c36cfa Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 4 Feb 2008 12:30:19 -0800 Subject: [PATCH] Don't try to use recv_xattr_request() with --dry-run. Fixes an internal abbrev error on the sending side. --- sender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1