]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
warning
authorTimo Sirainen <tss@iki.fi>
Tue, 15 Jun 2004 02:12:46 +0000 (05:12 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 15 Jun 2004 02:12:46 +0000 (05:12 +0300)
--HG--
branch : HEAD

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

index 8d1973e91d386b4b2d01c6b466a7fe568ddc9fc2..312d7ad0ba80b7597752d5421c7f079a25a7b600 100644 (file)
@@ -55,6 +55,11 @@ int maildir_file_do(struct index_mailbox *ibox, uint32_t uid,
                ret = maildir_file_do_try(ibox, uid, func, context);
        }
 
+       if (i == 10) {
+               mail_storage_set_critical(ibox->box.storage,
+                       "maildir_file_do(%s) racing", ibox->path);
+       }
+
        return ret == -2 ? 0 : ret;
 }