diff options
| author | jvoisin | 2018-02-05 18:13:57 +0100 |
|---|---|---|
| committer | jvoisin | 2018-02-05 18:13:57 +0100 |
| commit | 9d153cc185b4e2327a4aabe645cf1fabd3b4f21b (patch) | |
| tree | bfaf6ff5fa41098864d6b51ad1fa91304d8c32a6 /src/sp_config.c | |
| parent | 3ab41db5bb38ec534e96f89680e55becd758aa28 (diff) | |
Massive simplification of functions hooking
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 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 | } |
