8 Apr
2009
8 Apr
'09
7:42 p.m.
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; }