summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-08-19 11:06:04 +0000
committerAndrew Tridgell <tridge@samba.org>2000-08-19 11:06:04 +0000
commitb7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31 (patch)
treebccdfa1833515fd7131f0b987bdd33ef1251fe66
parent82980a23840452c069c37dd7c99c3ac937536847 (diff)
downloadrsync-b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31.tar.gz
fixed backup_dir bug introduced with recent memory handling patches
-rw-r--r--backup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.c b/backup.c
index 88f9eaed..9c6fd894 100644
--- a/backup.c
+++ b/backup.c
@@ -197,7 +197,7 @@ static int keep_backup(char *fname)
if (do_stat (fname, &st)) return 1;
#endif
- file = make_file (0, fname, 0);
+ file = make_file (-1, fname, 0);
/* make a complete pathname for backup file */
if (strlen(backup_dir) + strlen(fname) > (MAXPATHLEN - 1)) {