projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fb6287
)
Fix header lookup table setup in slocal(1)
author
Vasily Kolobkov
<>
Sun, 5 Jun 2016 22:08:14 +0000
(
00:08
+0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Thu, 21 Jul 2016 14:37:05 +0000
(16:37 +0200)
uip/slocal.c
patch
|
blob
|
history
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
bff4320
..
9306f94
100644
(file)
--- 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) {