From 4d5de28f500fe48f5aa28cec5e8a5dc3b6eac659 Mon Sep 17 00:00:00 2001 From: Vasily Kolobkov <> Date: Mon, 6 Jun 2016 00:08:14 +0200 Subject: [PATCH] Fix header lookup table setup in slocal(1) --- uip/slocal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4