diff options
| author | jvoisin | 2017-10-13 16:20:32 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-13 16:20:32 +0200 |
| commit | 780dcab62ebbf87aee8c65616fe0b0c57b2c8ea0 (patch) | |
| tree | 7bb6dcfec26f9d187a44b0a8b2507a2e1d02ea91 /src/sp_execute.c | |
| parent | d875912a0528931c0828edfe30c37c01b559b761 (diff) | |
Rename a confusing structure member
`regexp` is more confusing than `value_r`
Diffstat (limited to 'src/sp_execute.c')
| -rw-r--r-- | src/sp_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c index 59f6884..fb4a313 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c | |||
| @@ -37,7 +37,7 @@ static void construct_include_handler(const char * const filename) { | |||
| 37 | 37 | ||
| 38 | while (config) { | 38 | while (config) { |
| 39 | sp_disabled_function *config_node = (sp_disabled_function*)(config->data); | 39 | sp_disabled_function *config_node = (sp_disabled_function*)(config->data); |
| 40 | if (true == sp_match_value(filename, config_node->value, config_node->regexp)) { | 40 | if (true == sp_match_value(filename, config_node->value, config_node->value_r)) { |
| 41 | if (true == config_node->allow) { | 41 | if (true == config_node->allow) { |
| 42 | return; | 42 | return; |
| 43 | } | 43 | } |
