projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7df0ea
)
fix logic bug in pick GREPaction
author
Philipp Takacs
<philipp@bureaucracy.de>
Wed, 21 Nov 2018 22:23:10 +0000
(23:23 +0100)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Thu, 22 Nov 2018 23:14:43 +0000
(
00:14
+0100)
GREPaction now check the header field correct
uip/pick.c
patch
|
blob
|
history
diff --git
a/uip/pick.c
b/uip/pick.c
index
12b2bd7
..
7f0d3a9
100644
(file)
--- a/
uip/pick.c
+++ b/
uip/pick.c
@@
-1095,7
+1095,7
@@
GREPaction(struct field *f, int msgnum, void *data)
}
/* check for the right field */
- if (g->header && *g->header && mh_strcasecmp(g->header, f->name)==0) {
+ if (!(g->header && *g->header && mh_strcasecmp(g->header, f->name)==0)) {
return FALSE;
}