Fixed compile problem that Antti Tapaninen pointed out.
[rsync/rsync-patches.git] / omit-dir-changes.diff
index bd72e72..04c0a7a 100644 (file)
@@ -36,7 +36,7 @@ To use this patch, run these commands for a successful build:
 -              if (preserve_gid && !(file->flags & FLAG_SKIP_GROUP)
 -                  && sxp->st.st_gid != (gid_t)F_GROUP(file))
 +              if (preserve_gid && !omit_changes
-+               && !(file->FLAG_SKIP_GROUP) && sxp->st.st_gid != (gid_t)F_GROUP(file))
++               && !(file->flags & FLAG_SKIP_GROUP) && sxp->st.st_gid != (gid_t)F_GROUP(file))
                        iflags |= ITEM_REPORT_GROUP;
  #ifdef SUPPORT_ACLS
                if (preserve_acls && !S_ISLNK(file->mode)) {