X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/967866d4df4009bdc32347f7fa085681129a92c9..ee171c6da96c7bfc378092bd99e76a300b0acfc3:/generator.c diff --git a/generator.c b/generator.c index cbfb114f..34462c87 100644 --- a/generator.c +++ b/generator.c @@ -204,7 +204,7 @@ static void delete_in_dir(struct file_list *flist, char *fbuf, { static int min_depth = MAXPATHLEN, cur_depth = -1; static void *filt_array[MAXPATHLEN/2+1]; - static int already_output_warning = 0; + static int already_warned = 0; struct file_list *dirlist; char delbuf[MAXPATHLEN]; STRUCT_STAT st; @@ -228,11 +228,11 @@ static void delete_in_dir(struct file_list *flist, char *fbuf, return; /* Impossible... */ if (io_error && !(lp_ignore_errors(module_id) || ignore_errors)) { - if (already_output_warning) + if (already_warned) return; rprintf(FINFO, "IO error encountered -- skipping file deletion\n"); - already_output_warning = 1; + already_warned = 1; return; }