]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
More verbose bug reporting.
authorTimo Sirainen <tss@iki.fi>
Mon, 23 Jun 2003 19:43:41 +0000 (22:43 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 23 Jun 2003 19:43:41 +0000 (22:43 +0300)
--HG--
branch : HEAD

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

index 9ad7517690444ff22680bedc1a648f3512c8b251..f1c52a6457ef61e30035d52eace4571fba85f8e3 100644 (file)
@@ -543,7 +543,8 @@ static int maildir_full_sync_finish(struct maildir_sync_context *ctx)
                case MAILDIR_FILE_ACTION_NONE:
                        break;
                default:
-                       i_unreached();
+                       i_panic("BUG: %s/%s suddenly appeared as UID %u",
+                               index->mailbox_path, (char *) orig_key, uid);
                }
 
                if (uid_rec.uid == uid) {