Skip to content

Commit

Permalink
We don't need a compatibility check for --max-delete anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Jul 15, 2007
1 parent 7b9598b commit 35da2ec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extern int allow_inc_recurse;
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;
Expand Down Expand Up @@ -146,13 +145,6 @@ void setup_protocol(int f_out,int f_in)
}

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"
Expand Down

0 comments on commit 35da2ec

Please sign in to comment.