]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Fix #ifdef in unchanged_attrs(). Fixes bug 8268.
authorWayne Davison <wayned@samba.org>
Sun, 26 Jun 2011 16:52:40 +0000 (09:52 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 26 Jun 2011 16:53:31 +0000 (09:53 -0700)
generator.c

index d7e1ba8580bada7d578bb271fb7de2a6da2a0cd8..089672e6ec5b8bd20fb1c82fb8038a4937704d16 100644 (file)
@@ -630,7 +630,7 @@ int unchanged_attrs(const char *fname, struct file_struct *file, stat_x *sxp)
                if (perms_differ(file, sxp))
                        return 0;
 #endif
-#ifndef CAN_CHOWN_SYMLINK
+#ifdef CAN_CHOWN_SYMLINK
                if (ownership_differs(file, sxp))
                        return 0;
 #endif