diff options
author | Wayne Davison <wayned@samba.org> | 2004-02-02 05:06:34 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-02-02 05:06:34 +0000 |
commit | f3af206d8db24ec5d9960a6aa01c2b97c80d9eda (patch) | |
tree | 701f5b7960d9401723543426d5951f03f33ee35e /backup.c | |
parent | df0054ab13b7d045093d1e6ae44f369a45edb851 (diff) | |
download | rsync-f3af206d8db24ec5d9960a6aa01c2b97c80d9eda.tar.gz |
Changed args to make_file() and free_file().
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -199,7 +199,7 @@ static int keep_backup(char *fname) if (do_stat(fname, &st)) return 1; #endif - file = make_file(fname, NULL, NO_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); |