From: Wayne Davison Date: Sat, 12 Mar 2005 23:52:08 +0000 (+0000) Subject: Tweaked the name of a variable. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/717b04306a80f7775b1d327e94d156ea419d1bdd Tweaked the name of a variable. --- 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; }