]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
more debugging info to log
authorTimo Sirainen <tss@iki.fi>
Sun, 23 May 2004 17:02:50 +0000 (20:02 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 23 May 2004 17:02:50 +0000 (20:02 +0300)
--HG--
branch : HEAD

src/lib-index/mail-transaction-log.c

index f64b820cbc8b6bbdc1f40ba09237e50676f856fd..52776c0c6073cb3c66accf93fa4856bc69787a1c 100644 (file)
@@ -314,8 +314,9 @@ mail_transaction_log_file_read_hdr(struct mail_transaction_log_file *file,
                   just fail. If index->indexid == 0, we're rebuilding it and
                   we just want to lock the transaction log. */
                mail_index_set_error(file->log->index,
-                       "Transaction log file %s: invalid indexid",
-                       file->filepath);
+                       "Transaction log file %s: invalid indexid (%u != %u)",
+                       file->filepath, file->hdr.indexid,
+                       file->log->index->indexid);
                return 0;
        }
        if (file->hdr.used_size > st->st_size) {