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





------- Additional Comments From [EMAIL PROTECTED]  2005-11-27 20:31 -------
> glance having code like ((m->raw[i+1] == 'D') || (m->raw[i+1] == 'd')) and so

(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.

(Or if you are a real old-timer, you may prefer (toupper(m->raw[i+1]) == 'D') ).

Or if you are doing a string compare there are other ways to do this that are 
readable and clean.




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

Reply via email to