Commit 3de73827 authored by Wayne Davison's avatar Wayne Davison

Call make_file() with one more arg (the base flags).

parent 458aeea4
......@@ -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)))
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment