Fixed compile problem that Antti Tapaninen pointed out.
authorWayne Davison <wayned@samba.org>
Fri, 25 May 2007 14:21:36 +0000 (14:21 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 25 May 2007 14:21:36 +0000 (14:21 +0000)
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)) {