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
Got rid of the NVAL*() defines.
[rsync/rsync.git]
/
compat.c
diff --git
a/compat.c
b/compat.c
index
3f4bd45
..
38618d5
100644
(file)
--- a/
compat.c
+++ b/
compat.c
@@
-115,14
+115,14
@@
void setup_protocol(int f_out,int f_in)
protocol_version);
exit_cleanup(RERR_PROTOCOL);
}
protocol_version);
exit_cleanup(RERR_PROTOCOL);
}
- if (preserve_acls) {
+ if (preserve_acls
&& !local_server
) {
rprintf(FERROR,
"--acls requires protocol 30 or higher"
" (negotiated %d).\n",
protocol_version);
exit_cleanup(RERR_PROTOCOL);
}
rprintf(FERROR,
"--acls requires protocol 30 or higher"
" (negotiated %d).\n",
protocol_version);
exit_cleanup(RERR_PROTOCOL);
}
- if (preserve_xattrs) {
+ if (preserve_xattrs
&& !local_server
) {
rprintf(FERROR,
"--xattrs requires protocol 30 or higher"
" (negotiated %d).\n",
rprintf(FERROR,
"--xattrs requires protocol 30 or higher"
" (negotiated %d).\n",