summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-09-06 02:12:13 +0000
committerAndrew Tridgell <tridge@samba.org>2000-09-06 02:12:13 +0000
commit5b56cc19fbd5ed6626a091aa9c5af7fa371dc73a (patch)
treeed037ddbdf0342a7471f43dd85ad2c71dfba75c5 /rsync.c
parentc48b22c8583f6d6c55c6a6f6001cf4fdcc20aed1 (diff)
downloadrsync-5b56cc19fbd5ed6626a091aa9c5af7fa371dc73a.tar.gz
added --modify-window option from David Bolen <db3l@fitlinxx.com>
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync.c b/rsync.c
index 63132672..44d54dac 100644
--- a/rsync.c
+++ b/rsync.c
@@ -162,7 +162,7 @@ int set_perms(char *fname,struct file_struct *file,STRUCT_STAT *st,
}
if (preserve_times && !S_ISLNK(st->st_mode) &&
- st->st_mtime != file->modtime) {
+ cmp_modtime(st->st_mtime, file->modtime) != 0) {
/* don't complain about not setting times on directories
because some filesystems can't do it */
if (set_modtime(fname,file->modtime) != 0 &&