Got rid of a redundant mtime check.
authorWayne Davison <wayned@samba.org>
Mon, 5 Nov 2007 15:02:27 +0000 (15:02 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 5 Nov 2007 15:02:27 +0000 (15:02 +0000)
generator.c

index db89199..f364eef 100644 (file)
@@ -903,9 +903,6 @@ static int try_dests_reg(struct file_struct *file, char *fname, int ndx,
                case 2:
                        if (!unchanged_attrs(cmpbuf, file, sxp))
                                continue;
-                       if (always_checksum > 0 && preserve_times
-                        && cmp_time(sxp->st.st_mtime, file->modtime))
-                               continue;
                        best_match = j;
                        match_level = 3;
                        break;