~ubuntu-dev/ubuntu/lucid/dovecot/lucid-201002101901

« back to all changes in this revision

Viewing changes to src/lib-storage/index/mbox/istream-raw-mbox.c

  • Committer: Bazaar Package Importer
  • Author(s): Marco Nenciarini
  • Date: 2009-12-17 10:52:53 UTC
  • mfrom: (1.13.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: james.westby@ubuntu.com-20091217105253-guybg5b34vmits39
* New upstream release.
* debian/patches/gold-fix.patch: Removed. Fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
                        return i_stream_raw_mbox_read(stream);
266
266
                }
267
267
                if (mbox_read_from_line(rstream) < 0) {
 
268
                        if (stream->istream.v_offset != 0) {
 
269
                                i_error("Next message unexpectedly corrupted in mbox file "
 
270
                                        "%s at %"PRIuUOFF_T, rstream->path,
 
271
                                        stream->istream.v_offset);
 
272
                        }
268
273
                        stream->pos = 0;
269
274
                        rstream->eof = TRUE;
270
275
                        rstream->corrupted = TRUE;