From: Vasily Kolobkov <> Date: Sun, 5 Jun 2016 22:08:14 +0000 (+0200) Subject: Fix header lookup table setup in slocal(1) X-Git-Tag: mmh-0.3~26 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=4d5de28f500fe48f5aa28cec5e8a5dc3b6eac659;p=mmh Fix header lookup table setup in slocal(1) --- diff --git a/uip/slocal.c b/uip/slocal.c index bff4320..9306f94 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -765,7 +765,7 @@ parse(int fd) 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) {