From 1f56188f8ca68212e2635863891da76119518806 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 25 Dec 2006 17:49:23 +0000 Subject: [PATCH] Can just test ignore_errors w/o lp_ignore_errors(module_id) now. --- flist.c | 4 ++-- generator.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flist.c b/flist.c index cfa9beac..a7eecc8e 100644 --- a/flist.c +++ b/flist.c @@ -1436,7 +1436,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) send_uid_list(f); /* send the io_error flag */ - write_int(f, lp_ignore_errors(module_id) ? 0 : io_error); + write_int(f, ignore_errors ? 0 : io_error); io_end_buffering(); stats.flist_size = stats.total_written - start_write; @@ -1505,7 +1505,7 @@ struct file_list *recv_file_list(int f) recv_uid_list(f, flist); /* Recv the io_error flag */ - if (lp_ignore_errors(module_id) || ignore_errors) + if (ignore_errors) read_int(f); else io_error |= read_int(f); diff --git a/generator.c b/generator.c index 0721790d..f17faed5 100644 --- a/generator.c +++ b/generator.c @@ -433,7 +433,7 @@ static void delete_in_dir(struct file_list *flist, char *fbuf, if (F_DEPTH(file) >= MAXPATHLEN/2+1) return; /* Impossible... */ - if (io_error && !(lp_ignore_errors(module_id) || ignore_errors)) { + if (io_error && !ignore_errors) { if (already_warned) return; rprintf(FINFO, -- 2.34.1