From 717b04306a80f7775b1d327e94d156ea419d1bdd Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 12 Mar 2005 23:52:08 +0000 Subject: [PATCH] Tweaked the name of a variable. --- generator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.34.1