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 15a8f97e093996507ad5e673598058b951591df0..d36524a8a4baafb0ee1cced1811c7464c86f4ba9 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 8e731e28fef5cfd0dfcabc5f9709d9c6d4366e1f..b31c03398096dcba1900d5460102ff722152e524 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;
                }