On Wed, 2009-04-08 at 14:05 +0400, Konstantin Lepa wrote: You didn't say what the strange behavior was .. But:
if (hdr && hdr->eoh == TRUE) { *matched = FALSE; } else { *matched = TRUE; } Don't explicitly set matched always. Set it only when you know you want to change its matching state. So the above code should be only: if (hdr && hdr->eoh == TRUE) { *matched = FALSE; }
signature.asc
Description: This is a digitally signed message part