summaryrefslogtreecommitdiff
path: root/xattrs.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-09-12 09:13:38 -0700
committerWayne Davison <wayned@samba.org>2009-09-12 09:13:38 -0700
commit1b502f3ec234bf1045c6bb146f64734d09e81956 (patch)
tree6d326c8a215ad1b7568647152522714522a6d76e /xattrs.c
parent44d7d045c7880eba19ab04e80eeb064b0649e4b7 (diff)
downloadrsync-1b502f3ec234bf1045c6bb146f64734d09e81956.tar.gz
Put file descriptor arg at the start of the arg list for consistency.
Diffstat (limited to 'xattrs.c')
-rw-r--r--xattrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xattrs.c b/xattrs.c
index 79313255..2b71270c 100644
--- a/xattrs.c
+++ b/xattrs.c
@@ -398,7 +398,7 @@ static void rsync_xal_store(item_list *xalp)
}
/* Send the make_xattr()-generated xattr list for this flist entry. */
-int send_xattr(stat_x *sxp, int f)
+int send_xattr(int f, stat_x *sxp)
{
int ndx = find_matching_xattr(sxp->xattr);
@@ -640,7 +640,7 @@ int recv_xattr_request(struct file_struct *file, int f_in)
/* ------------------------------------------------------------------------- */
/* receive and build the rsync_xattr_lists */
-void receive_xattr(struct file_struct *file, int f)
+void receive_xattr(int f, struct file_struct *file)
{
static item_list temp_xattr = EMPTY_ITEM_LIST;
int count, num;