summaryrefslogtreecommitdiffstats
path: root/lib/hashtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashtable.c')
-rw-r--r--lib/hashtable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hashtable.c b/lib/hashtable.c
index 93028ed83b..50ff40a397 100644
--- a/lib/hashtable.c
+++ b/lib/hashtable.c
@@ -542,9 +542,8 @@ static int match_string(int flag, const char *str, const char *pat, void *priv)
case H_MATCH_REGEX:
{
struct slre *slrep = (struct slre *)priv;
- struct cap caps[slrep->num_caps + 2];
- if (slre_match(slrep, str, strlen(str), caps))
+ if (slre_match(slrep, str, strlen(str), NULL))
return 1;
}
break;