Call make_file() with one more arg (the base flags).
authorWayne Davison <wayned@samba.org>
Fri, 20 Jan 2006 21:21:36 +0000 (21:21 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 20 Jan 2006 21:21:36 +0000 (21:21 +0000)
backup.c
generator.c

index 15a8f97..d36524a 100644 (file)
--- a/backup.c
+++ b/backup.c
@@ -180,7 +180,7 @@ static int keep_backup(char *fname)
        if (do_lstat(fname, &st) < 0)
                return 1;
 
-       if (!(file = make_file(fname, NULL, NULL, NO_FILTERS)))
+       if (!(file = make_file(fname, NULL, NULL, 0, NO_FILTERS)))
                return 1; /* the file could have disappeared */
 
        if (!(buf = get_backup_name(fname)))
index 8e731e2..b31c033 100644 (file)
@@ -1195,7 +1195,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
                        close(fd);
                        return;
                }
-               if (!(back_file = make_file(fname, NULL, NULL, NO_FILTERS))) {
+               if (!(back_file = make_file(fname, NULL, NULL, 0, NO_FILTERS))) {
                        close(fd);
                        goto pretend_missing;
                }