diff options
Diffstat (limited to 'src/sp_config.c')
| -rw-r--r-- | src/sp_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
| 145 | if (value) { | 145 | if (value) { |
| 146 | const char *pcre_error; | 146 | const char *pcre_error; |
| 147 | int pcre_error_offset; | 147 | int pcre_error_offset; |
| 148 | pcre *compiled_re = pcre_compile(value, PCRE_CASELESS, &pcre_error, | 148 | pcre *compiled_re = sp_pcre_compile(value, PCRE_CASELESS, &pcre_error, |
| 149 | &pcre_error_offset, NULL); | 149 | &pcre_error_offset, NULL); |
| 150 | if (NULL == compiled_re) { | 150 | if (NULL == compiled_re) { |
| 151 | sp_log_err("config", "Failed to compile '%s': %s.", value, pcre_error); | 151 | sp_log_err("config", "Failed to compile '%s': %s.", value, pcre_error); |
