From 780dcab62ebbf87aee8c65616fe0b0c57b2c8ea0 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 13 Oct 2017 16:20:32 +0200 Subject: Rename a confusing structure member `regexp` is more confusing than `value_r` --- src/sp_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_execute.c') 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) { while (config) { sp_disabled_function *config_node = (sp_disabled_function*)(config->data); - if (true == sp_match_value(filename, config_node->value, config_node->regexp)) { + if (true == sp_match_value(filename, config_node->value, config_node->value_r)) { if (true == config_node->allow) { return; } -- cgit v1.3