Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b9598b
)
We don't need a compatibility check for --max-delete anymore.
author
Wayne Davison
<wayned@samba.org>
Sun, 15 Jul 2007 05:43:05 +0000
(
05:43
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 15 Jul 2007 05:43:05 +0000
(
05:43
+0000)
compat.c
patch
|
blob
|
blame
|
history
diff --git
a/compat.c
b/compat.c
index
ab7d07b
..
e211806
100644
(file)
--- a/
compat.c
+++ b/
compat.c
@@
-36,7
+36,6
@@
extern int allow_inc_recurse;
extern int relative_paths;
extern int fuzzy_basis;
extern int read_batch;
extern int relative_paths;
extern int fuzzy_basis;
extern int read_batch;
-extern int max_delete;
extern int implied_dirs;
extern int delay_updates;
extern int checksum_seed;
extern int implied_dirs;
extern int delay_updates;
extern int checksum_seed;
@@
-146,13
+145,6
@@
void setup_protocol(int f_out,int f_in)
}
if (protocol_version < 30) {
}
if (protocol_version < 30) {
- if (max_delete == 0 && am_sender) {
- rprintf(FERROR,
- "--max-delete=0 requires protocol 30 or higher"
- " (negotiated %d).\n",
- protocol_version);
- exit_cleanup(RERR_PROTOCOL);
- }
if (preserve_acls && !local_server) {
rprintf(FERROR,
"--acls requires protocol 30 or higher"
if (preserve_acls && !local_server) {
rprintf(FERROR,
"--acls requires protocol 30 or higher"