summaryrefslogtreecommitdiff
path: root/src/sp_pcre_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_pcre_compat.c')
-rw-r--r--src/sp_pcre_compat.c3
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}