Fix compile after pull request merge
authorChristian Kamm <mail@ckamm.de>
Wed, 28 Oct 2015 08:53:06 +0000 (09:53 +0100)
committerChristian Kamm <mail@ckamm.de>
Wed, 28 Oct 2015 08:53:06 +0000 (09:53 +0100)
It conflicted with the optimization in
f18b40f7e7890a659d20f1d3bbd3125a3089b612

csync/src/csync_update.c

index 4945d44accd6bb2816f039d74930e00749f1ecba..e25af5168ce92eda886a4953e524670098aeff30 100644 (file)
@@ -747,7 +747,7 @@ int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn,
      */
 #ifndef _WIN32
     if( d_name[0] == '.' ) {
-        fs->flags |= CSYNC_VIO_FILE_FLAGS_HIDDEN;
+        dirent->flags |= CSYNC_VIO_FILE_FLAGS_HIDDEN;
     }
 #endif