Always set the SID_USING_ALT_BASIS appropriately for the transfer,
authorWayne Davison <wayned@samba.org>
Tue, 22 Feb 2005 22:12:59 +0000 (22:12 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 22 Feb 2005 22:12:59 +0000 (22:12 +0000)
even if --inplace wasn't specified.

generator.c

index 41cdace..b0913a0 100644 (file)
@@ -826,7 +826,7 @@ notify_others:
                int iflags = SID_UPDATING;
                if (always_checksum)
                        iflags |= SID_REPORT_CHECKSUM;
-               if (inplace && fnamecmp_type != FNAMECMP_FNAME)
+               if (fnamecmp_type != FNAMECMP_FNAME)
                        iflags |= SID_USING_ALT_BASIS;
                itemize(file, statret, &st, iflags, f_out, -1);
        }