Mladen Turk wrote:
[EMAIL PROTECTED] wrote:Match header names exactly against pre defined constants. p += 6; - if (memcmp(p, "CHARSET", 7) == 0) + if (strcmp(p, "CHARSET") == 0)Someone would say that this is over engineering :) memcmp *is always* faster then strcmp I don't get it, what's the point?
Oops. It makes sense for things like HTTP_CHARSET_FOO I should think twice before sending reply :) Regards, Mladen. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
