diff options
| author | Ben Fuhrmannek | 2021-09-02 13:58:01 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-09-02 13:58:01 +0200 |
| commit | b4dcbe2dd11efda09adc934fa2563eafc12e9b55 (patch) | |
| tree | d4b18b69f24c43a91ffee55caa8f6fbcef240687 /src/sp_config_keywords.c | |
| parent | 782336d8f4b9c411d344c0e7752e87631952f268 (diff) | |
fixed compiler warnings + test cases
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index fd90453..3b6bc0b 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c | |||
| @@ -183,7 +183,7 @@ SP_PARSE_FN(parse_cookie) { | |||
| 183 | if (cookie->encrypt) { | 183 | if (cookie->encrypt) { |
| 184 | if (!SNUFFLEUPAGUS_G(config).config_snuffleupagus->cookies_env_var) { | 184 | if (!SNUFFLEUPAGUS_G(config).config_snuffleupagus->cookies_env_var) { |
| 185 | sp_log_err("config", "You're trying to use the cookie encryption feature on line %zu " | 185 | sp_log_err("config", "You're trying to use the cookie encryption feature on line %zu " |
| 186 | "without having set the `." SP_TOKEN_ENV_VAR "` option in`sp.global`: please set it first", parsed_rule->lineno); | 186 | "without having set the `." SP_TOKEN_ENV_VAR "` option in `sp.global`: please set it first", parsed_rule->lineno); |
| 187 | goto err; | 187 | goto err; |
| 188 | } else if (!SNUFFLEUPAGUS_G(config).config_snuffleupagus->encryption_key) { | 188 | } else if (!SNUFFLEUPAGUS_G(config).config_snuffleupagus->encryption_key) { |
| 189 | sp_log_err("config", "You're trying to use the cookie encryption feature " | 189 | sp_log_err("config", "You're trying to use the cookie encryption feature " |
