]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Error message improvements.
authorTimo Sirainen <tss@iki.fi>
Sun, 4 May 2008 18:54:03 +0000 (21:54 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 4 May 2008 18:54:03 +0000 (21:54 +0300)
--HG--
branch : HEAD

src/lib-storage/index/mbox/istream-raw-mbox.c
src/lib-storage/index/mbox/mbox-mail.c

index 784f754815c37e98cd3a9127c6132f137ca6756c..9aa9a63b40444d8cfd43998d832cddbdde90d3a7 100644 (file)
@@ -298,7 +298,7 @@ static ssize_t i_stream_raw_mbox_read(struct istream_private *stream)
            rstream->hdr_offset + new_pos > rstream->mail_size) {
                /* istream_raw_mbox_set_next_offset() used invalid
                   cached next_offset? */
-               i_error("Unexpectedly lost From-line at %"PRIuUOFF_T,
+               i_error("Next message unexpectedly lost from %"PRIuUOFF_T,
                        rstream->hdr_offset + rstream->mail_size);
                rstream->eof = TRUE;
                rstream->corrupted = TRUE;
index 8a7b3fea44c610b30ccc3869ae21b3e7a4b4357e..6a51296b218002ad3de1617c1e94f66a445a5a93 100644 (file)
@@ -248,8 +248,9 @@ static int mbox_mail_init_stream(struct index_mail *mail)
                if (mbox_mail_seek(mail) < 0)
                        return -1;
                if (!mbox_mail_get_next_offset(mail, &next_offset)) {
-                       i_warning("mbox %s: Can't find next message offset",
-                                 mbox->path);
+                       i_warning("mbox %s: Can't find next message offset "
+                                 "for uid=%u",
+                                 mbox->path, mail->mail.mail.uid);
                        next_offset = (uoff_t)-1;
                }
        }