]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fixed compile error if pcre is not installed.
authorUllrich Kossow <ullrich.kossow@web.de>
Thu, 18 May 2017 19:52:09 +0000 (21:52 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 19 May 2017 13:14:52 +0000 (15:14 +0200)
src/wrappers.c

index c3e5afec90931faa9ab79b1e75fe81c77811bfcd..072313872c55214be23b4ce25d5b0321068da780 100644 (file)
@@ -470,7 +470,7 @@ int regex_compile(tvh_regex_t *regex, const char *re_str, int subsys)
   if (!regcomp(&regex->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
 }