From: Ullrich Kossow Date: Thu, 18 May 2017 19:52:09 +0000 (+0200) Subject: Fixed compile error if pcre is not installed. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8114f6713d9ab081063815b59cf1e4ce1c14a2e2;p=thirdparty%2Ftvheadend.git Fixed compile error if pcre is not installed. --- diff --git a/src/wrappers.c b/src/wrappers.c index c3e5afec9..072313872 100644 --- a/src/wrappers.c +++ b/src/wrappers.c @@ -470,7 +470,7 @@ int regex_compile(tvh_regex_t *regex, const char *re_str, int subsys) if (!regcomp(®ex->re_code, re_str, REG_ICASE | REG_EXTENDED | REG_NOSUB)) return 0; - tvherror(subsys, "Unable to compile regex '%s'", title); + tvherror(subsys, "Unable to compile regex '%s'", re_str); return -1; #endif }