* check for CRLF regardles of what the caller is telling us, we did it like that in advance too.
* ( key + (colonpos - beg) ) = '\0';
value = &key[(colonpos - beg) + 1];
unfold_rfc822_field(&value, &valueend);
- valuelen = valueend - value;
+ valuelen = valueend - value + 1;
/*
* Here's the big rfc822-to-citadel loop.
if ((!eoh) &&
(*mptr == '\n'))
{
- if (crlf) {
- eoh = (*(mptr+1) == '\r') && (*(mptr+2) == '\n');
- }
- else {
+ eoh = (*(mptr+1) == '\r') && (*(mptr+2) == '\n');
+ if (!eoh)
eoh = *(mptr+1) == '\n';
- }
}
if (