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
(parent:
df0054a
)
Changed args to make_file() and free_file().
author
Wayne Davison
<wayned@samba.org>
Mon, 2 Feb 2004 05:06:34 +0000
(
05:06
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 2 Feb 2004 05:06:34 +0000
(
05:06
+0000)
backup.c
patch
|
blob
|
blame
|
history
diff --git
a/backup.c
b/backup.c
index
e9dfb49
..
c1b8083
100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-199,7
+199,7
@@
static int keep_backup(char *fname)
if (do_stat(fname, &st)) return 1;
#endif
- file = make_file(fname, N
ULL, N
O_EXCLUDES);
+ file = make_file(fname, NO_EXCLUDES);
/* the file could have disappeared */
if (!file) return 1;
@@
-282,8
+282,7
@@
static int keep_backup(char *fname)
}
}
set_perms(keep_name, file, NULL, 0);
- free_file(file);
- free(file);
+ free_file(file, FREE_STRUCT);
if (verbose > 1)
rprintf(FINFO, "keep_backup %s -> %s\n", fname, keep_name);