summaryrefslogtreecommitdiff
path: root/src/sp_config.c
diff options
context:
space:
mode:
authorjvoisin2018-02-05 18:13:57 +0100
committerjvoisin2018-02-05 18:13:57 +0100
commit9d153cc185b4e2327a4aabe645cf1fabd3b4f21b (patch)
treebfaf6ff5fa41098864d6b51ad1fa91304d8c32a6 /src/sp_config.c
parent3ab41db5bb38ec534e96f89680e55becd758aa28 (diff)
Massive simplification of functions hooking
Diffstat (limited to 'src/sp_config.c')
-rw-r--r--src/sp_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_config.c b/src/sp_config.c
index 1236ebd..67140a0 100644
--- a/src/sp_config.c
+++ b/src/sp_config.c
@@ -141,7 +141,7 @@ int parse_regexp(char *restrict line, char *restrict keyword, void *retval) {
141 141
142 if (value) { 142 if (value) {
143 sp_pcre *compiled_re = sp_pcre_compile(value); 143 sp_pcre *compiled_re = sp_pcre_compile(value);
144 if (NULL != compiled_re) { 144 if (NULL != compiled_re) {
145 *(sp_pcre **)retval = compiled_re; 145 *(sp_pcre **)retval = compiled_re;
146 return consumed; 146 return consumed;
147 } 147 }