projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make dateparsing case insensitive
[mmh]
/
uip
/
slocal.c
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
26cad52
..
df0dc7f
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-72,6
+72,7
@@
static struct swit switches[] = {
{ NULL, 0 }
};
{ NULL, 0 }
};
+char *version=VERSION;
static int globbed = 0; /* have we built "vars" table yet? */
static int parsed = 0; /* have we built header field table yet */
static int globbed = 0; /* have we built "vars" table yet? */
static int parsed = 0; /* have we built header field table yet */
@@
-759,14
+760,13
@@
parse(int fd)
for (i = 0, state = FLD2;;) {
switch (state = m_getfld2(state, &f, in)) {
case LENERR2:
for (i = 0, state = FLD2;;) {
switch (state = m_getfld2(state, &f, in)) {
case LENERR2:
- advise(NULL, "format error in message");
state = FLD2;
/* FALL */
case FLD2:
lp = mh_xstrdup(f.value);
for (p = hdrs; p->p_name; p++) {
state = FLD2;
/* FALL */
case FLD2:
lp = mh_xstrdup(f.value);
for (p = hdrs; p->p_name; p++) {
- if (mh_strcasecmp(p->p_name, f.name)!=0) {
+ if (mh_strcasecmp(p->p_name, f.name) == 0) {
if (!(p->p_flags & P_HID)) {
if ((cp = p->p_value)) {
if (p->p_flags & P_ADR) {
if (!(p->p_flags & P_HID)) {
if ((cp = p->p_value)) {
if (p->p_flags & P_ADR) {