diff --git a/src/curl.c b/src/curl.c
index bc11c28afdaf149154e1f2bf83fd333769f4c6c1..6e2811c81d2555060755ea562297f7cbedefd76f 100644 (file)
--- a/src/curl.c
+++ b/src/curl.c
if (status != 0)
return (status);
- match->match = match_create_simple (match->regex, match->dstype);
+ match->match = match_create_simple (match->regex, NULL, match->dstype);
if (match->match == NULL)
{
ERROR ("curl plugin: tail_match_add_match_simple failed.");