Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document the latest %i output.
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
cbfb114
..
34462c8
100644
(file)
--- 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 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;
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)) {
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");
return;
rprintf(FINFO,
"IO error encountered -- skipping file deletion\n");
- already_
output_warning
= 1;
+ already_
warned
= 1;
return;
}
return;
}