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
Fixed an operator-precedence problem in the batch-mode code.
[rsync/rsync.git]
/
exclude.c
diff --git
a/exclude.c
b/exclude.c
index
a12e3b7
..
1bb042b
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-316,7
+316,7
@@
void add_exclude_file(struct exclude_struct ***listp, const char *fname,
void send_exclude_list(int f)
{
int i;
void send_exclude_list(int f)
{
int i;
- extern int
remote
_version;
+ extern int
protocol
_version;
extern int list_only, recurse;
/* This is a complete hack - blame Rusty.
extern int list_only, recurse;
/* This is a complete hack - blame Rusty.
@@
-341,7
+341,7
@@
void send_exclude_list(int f)
l = strlen(pattern);
if (l == 0) continue;
if (exclude_list[i]->include) {
l = strlen(pattern);
if (l == 0) continue;
if (exclude_list[i]->include) {
- if (
remote
_version < 19) {
+ if (
protocol
_version < 19) {
rprintf(FERROR,"remote rsync does not support include syntax - aborting\n");
exit_cleanup(RERR_UNSUPPORTED);
}
rprintf(FERROR,"remote rsync does not support include syntax - aborting\n");
exit_cleanup(RERR_UNSUPPORTED);
}