http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4707





------- Additional Comments From [EMAIL PROTECTED]  2005-11-27 20:37 -------
On Sun, Nov 27, 2005 at 08:31:01PM +0100, [EMAIL PROTECTED] wrote:
> (tolower(m->raw[i+1]) == 'd') is the cannonical way to handle this sort of 
> thing.  It is actually a little less efficient than the repeated test you 
> show, 
> but it is generally more readable.

I haven't really looked at the code, and my C is fairly rusty,
but is there a reason we couldn't just do something like
"if (strncasecmp(m->raw+i, 'DATA', 4)==0)" or something?  It seems like
checking byte-for-byte isn't the right way to go.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to