Skip to content

Commit

Permalink
lib-imap-storage: Removed wrong assert.
Browse files Browse the repository at this point in the history
Now that we're no longer putting the headers through istream-header-filter
it doesn't necessarily have CRLFs. Broken by 333602c.
  • Loading branch information
sirainen committed May 18, 2016
1 parent 07bba7c commit 564b73a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib-imap-storage/imap-msgpart.c
Expand Up @@ -417,8 +417,6 @@ imap_msgpart_crlf_seek(struct mail *mail, struct istream *input,
uoff_t virtual_skip = msgpart->partial_offset;
bool cr_skipped;

i_assert(msgpart->headers == NULL); /* HEADER.FIELDS returns CRLFs */

if (virtual_skip == 0) {
/* no need to seek */
} else if (cache->uid == mail->uid &&
Expand Down

0 comments on commit 564b73a

Please sign in to comment.