Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove bogus "non-empty" qualifier in '*' discussion.
[rsync/rsync.git]
/
xattrs.c
diff --git
a/xattrs.c
b/xattrs.c
index
85341b3
..
60c7d7e
100644
(file)
--- a/
xattrs.c
+++ b/
xattrs.c
@@
-210,7
+210,7
@@
static int rsync_xal_get(const char *fname, item_list *xalp)
size_t datum_len, name_offset;
char *name, *ptr;
#ifdef HAVE_LINUX_XATTRS
size_t datum_len, name_offset;
char *name, *ptr;
#ifdef HAVE_LINUX_XATTRS
- int user_only = am_sender ? 0 :
!am_root
;
+ int user_only = am_sender ? 0 :
am_root <= 0
;
#endif
rsync_xa *rxa;
int count;
#endif
rsync_xa *rxa;
int count;
@@
-294,7
+294,7
@@
int copy_xattrs(const char *source, const char *dest)
size_t datum_len;
char *name, *ptr;
#ifdef HAVE_LINUX_XATTRS
size_t datum_len;
char *name, *ptr;
#ifdef HAVE_LINUX_XATTRS
- int user_only = am_
sender ? 0 : am_
root <= 0;
+ int user_only = am_root <= 0;
#endif
/* This puts the name list into the "namebuf" buffer. */
#endif
/* This puts the name list into the "namebuf" buffer. */