diff options
| author | Ben Fuhrmannek | 2021-08-16 15:47:01 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-08-16 15:47:01 +0200 |
| commit | 5148ded7268b569fd5e720f90b44645c83ac3e9e (patch) | |
| tree | 9d5c3035a7a85ffc27de7c32b441994a21a6347a /src/sp_pcre_compat.c | |
| parent | 9dc6b23a2219e809e665bac7d82567533751d39d (diff) | |
fincy new scanner/parser for config rules + fixed a few bugs along the way + fixed related unittests
Diffstat (limited to 'src/sp_pcre_compat.c')
| -rw-r--r-- | src/sp_pcre_compat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp_pcre_compat.c b/src/sp_pcre_compat.c index 2b9f08d..657e650 100644 --- a/src/sp_pcre_compat.c +++ b/src/sp_pcre_compat.c | |||
| @@ -24,8 +24,7 @@ sp_pcre* sp_pcre_compile(const char* const pattern) { | |||
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | if (NULL == ret) { | 26 | if (NULL == ret) { |
| 27 | sp_log_err("config", "Failed to compile '%s': %s on line %zu.", pattern, | 27 | sp_log_err("config", "Failed to compile '%s': %s.", pattern, pcre_error); |
| 28 | pcre_error, sp_line_no); | ||
| 29 | } | 28 | } |
| 30 | return ret; | 29 | return ret; |
| 31 | } | 30 | } |
