From 6487590b4fd55dddd59b43f1fcf2ebd8d56f20ac Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 20 Sep 2017 10:51:22 +0200 Subject: Add travis --- src/sp_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_config.c') diff --git a/src/sp_config.c b/src/sp_config.c index f73347d..37a34b9 100644 --- a/src/sp_config.c +++ b/src/sp_config.c @@ -145,7 +145,7 @@ int parse_regexp(char *restrict line, char *restrict keyword, void *retval) { if (value) { const char *pcre_error; int pcre_error_offset; - pcre *compiled_re = pcre_compile(value, PCRE_CASELESS, &pcre_error, + pcre *compiled_re = sp_pcre_compile(value, PCRE_CASELESS, &pcre_error, &pcre_error_offset, NULL); if (NULL == compiled_re) { sp_log_err("config", "Failed to compile '%s': %s.", value, pcre_error); -- cgit v1.3