diff options
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index b03c28e..097d08b 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c | |||
| @@ -204,10 +204,10 @@ int parse_disabled_functions(char *line) { | |||
| 204 | "'.r_filename' and '.filename' are mutually exclusive on line %zu.", | 204 | "'.r_filename' and '.filename' are mutually exclusive on line %zu.", |
| 205 | line, sp_line_no); | 205 | line, sp_line_no); |
| 206 | return -1; | 206 | return -1; |
| 207 | } else if (df->r_param && df->param) { | 207 | } else if (1 < ((df->r_param?1:0) + (df->param?1:0) + ((-1 != df->pos)?1:0))) { |
| 208 | sp_log_err("config", | 208 | sp_log_err("config", |
| 209 | "Invalid configuration line: 'sp.disabled_functions%s':" | 209 | "Invalid configuration line: 'sp.disabled_functions%s':" |
| 210 | "'.r_param' and '.param' are mutually exclusive on line %zu.", | 210 | "'.r_param', '.param' and '.pos' are mutually exclusive on line %zu.", |
| 211 | line, sp_line_no); | 211 | line, sp_line_no); |
| 212 | return -1; | 212 | return -1; |
| 213 | } else if (df->r_ret && df->ret) { | 213 | } else if (df->r_ret && df->ret) { |
