]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
OSX+Maildir: Also don't log an error if readdir() fails with EINVAL.
authorTimo Sirainen <tss@iki.fi>
Wed, 8 Jul 2009 01:43:57 +0000 (21:43 -0400)
committerTimo Sirainen <tss@iki.fi>
Wed, 8 Jul 2009 01:43:57 +0000 (21:43 -0400)
--HG--
branch : HEAD

src/lib-storage/index/maildir/maildir-sync.c

index 32eb5f1c3f81885ab45b11be677873e20b8065cc..f5e5b3fddcac59e010367e17bba997f502fb3f12 100644 (file)
@@ -494,7 +494,7 @@ maildir_scan_dir(struct maildir_sync_context *ctx, bool new_dir, bool final)
                /* OS X HFS+: readdir() fails sometimes when rename()
                   have been done. */
                move_count = MAILDIR_RENAME_RESCAN_COUNT + 1;
-       }
+       } else
 #endif
 
        if (errno != 0) {