Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0bb8616
)
Make sure we don't try to output a NULL pointer in a verbose message.
author
Wayne Davison
<wayned@samba.org>
Wed, 23 May 2007 00:48:27 +0000
(
00:48
+0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 23 May 2007 00:48:27 +0000
(
00:48
+0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
f9620e9
..
f1b6a46
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1736,8
+1736,9
@@
static void touch_up_dirs(struct file_list *flist, int ndx)
for (i = start; i <= end; i++, counter++) {
file = flist->files[i];
if (verbose > 3) {
for (i = start; i <= end; i++, counter++) {
file = flist->files[i];
if (verbose > 3) {
+ fname = f_name(file, NULL);
rprintf(FINFO, "touch_up_dirs: %s (%d)\n",
rprintf(FINFO, "touch_up_dirs: %s (%d)\n",
-
f_name(file, NULL
), i);
+
NS(fname
), i);
}
if (!F_IS_ACTIVE(file) || !S_ISDIR(file->mode)
|| file->flags & FLAG_MISSING_DIR)
}
if (!F_IS_ACTIVE(file) || !S_ISDIR(file->mode)
|| file->flags & FLAG_MISSING_DIR)