diff options
| author | jvoisin | 2020-11-12 19:45:01 +0100 |
|---|---|---|
| committer | jvoisin | 2020-11-12 19:45:01 +0100 |
| commit | 4d4aa88392eb4ff482409b7d3434032769c6160a (patch) | |
| tree | 77c25ef23a467b1cb5b8abe48bf629970b2d135b /src/sp_config_keywords.c | |
| parent | a9301f4836a4bf22d18283103cfcd446eaaec1eb (diff) | |
Invalid configurations with mutually exclusive keywords now aborts
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 7d9fbdf..550900f 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c | |||
| @@ -375,7 +375,7 @@ int parse_disabled_functions(char *line) { | |||
| 375 | "Invalid configuration line: 'sp.disabled_functions%s': " \ | 375 | "Invalid configuration line: 'sp.disabled_functions%s': " \ |
| 376 | "'.%s' and '.%s' are mutually exclusive on line %zu", \ | 376 | "'.%s' and '.%s' are mutually exclusive on line %zu", \ |
| 377 | line, STR1, STR2, sp_line_no); \ | 377 | line, STR1, STR2, sp_line_no); \ |
| 378 | return 1; \ | 378 | return -1; \ |
| 379 | } | 379 | } |
| 380 | 380 | ||
| 381 | MUTUALLY_EXCLUSIVE(df->r_value, df->value, "r_value", "value"); | 381 | MUTUALLY_EXCLUSIVE(df->r_value, df->value, "r_value", "value"); |
