projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove $user_* values, those will eventually not be needed anymore, as they will...
[apps/madmutt.git]
/
lib-lib
/
rx.c
diff --git
a/lib-lib/rx.c
b/lib-lib/rx.c
index
21cbd33
..
0edce59
100644
(file)
--- a/
lib-lib/rx.c
+++ b/
lib-lib/rx.c
@@
-125,11
+125,11
@@
int rx_list_match2(rx_t *l, const char *s, char *dst, int dlen)
rx_t **rx_lookup(rx_t **l, const char *pat)
{
rx_t **rx_lookup(rx_t **l, const char *pat)
{
- if (
!pat || !*pat
)
+ if (
m_strisempty(pat)
)
return NULL;
while (*l) {
return NULL;
while (*l) {
- if (!strcmp((*l)->pattern, pat))
+ if (!
m_
strcmp((*l)->pattern, pat))
return l;
l = &(*l)->next;
}
return l;
l = &(*l)->next;
}