summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7cca9c4)
This one's for all those RFC 733 emails out there.
You know who you are.
static int
isat (const char *p)
{
static int
isat (const char *p)
{
- return has_prefix(p, " AT ") || has_prefix(p, " At ") ||
- has_prefix(p, " aT ") || has_prefix(p, " at ");
+ return *p == ' ' &&
+ (p[1] == 'a' || p[1] == 'A') &&
+ (p[2] == 't' || p[2] == 'T') &&
+ p[3] == ' ';