From b213c8e08b5624da9bb69dd05e132e247bab3082 Mon Sep 17 00:00:00 2001 From: simon MAGNIN-FEYSOT Date: Wed, 17 Jan 2018 19:25:08 +0100 Subject: Remove useless "head" member in our linked lists implementation This should close #85 --- src/sp_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index 9cd2888..e1fc630 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -397,7 +397,7 @@ int hook_regexp(const pcre* regexp, HashTable* hook_table, bool check_is_in_eval_whitelist(const char* const function_name) { const sp_list_node* it = SNUFFLEUPAGUS_G(config).config_eval->whitelist; - if (!it->head) { + if (!it) { return false; } -- cgit v1.3