projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes case where a very long character-class range (128 or
[mmh]
/
uip
/
post.c
diff --git
a/uip/post.c
b/uip/post.c
index
f880152
..
96120c1
100644
(file)
--- a/
uip/post.c
+++ b/
uip/post.c
@@
-946,7
+946,7
@@
get_header (char *header, struct headers *table)
struct headers *h;
for (h = table; h->value; h++)
struct headers *h;
for (h = table; h->value; h++)
- if (!strcasecmp (header, h->value))
+ if (!mh_strcasecmp (header, h->value))
return (h - table);
return NOTOK;
return (h - table);
return NOTOK;
@@
-1048,8
+1048,8
@@
insert (struct mailname *np)
: &netaddrs;
mp->m_next;
mp = mp->m_next)
: &netaddrs;
mp->m_next;
mp = mp->m_next)
- if (!strcasecmp (np->m_host, mp->m_next->m_host)
- && !strcasecmp (np->m_mbox, mp->m_next->m_mbox)
+ if (!mh_strcasecmp (np->m_host, mp->m_next->m_host)
+ && !mh_strcasecmp (np->m_mbox, mp->m_next->m_mbox)
&& np->m_bcc == mp->m_next->m_bcc)
return 0;
&& np->m_bcc == mp->m_next->m_bcc)
return 0;