diff options
| author | simon MAGNIN-FEYSOT | 2018-01-17 19:25:08 +0100 |
|---|---|---|
| committer | jvoisin | 2018-01-17 19:25:08 +0100 |
| commit | b213c8e08b5624da9bb69dd05e132e247bab3082 (patch) | |
| tree | 70098ca8ea967138d4beb3a1f423e5beb2908fd3 /src/sp_utils.c | |
| parent | 05e4b7ea67e07bb82db2a37930b383d51500b341 (diff) | |
Remove useless "head" member in our linked lists implementation
This should close #85
Diffstat (limited to 'src/sp_utils.c')
| -rw-r--r-- | src/sp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 397 | bool check_is_in_eval_whitelist(const char* const function_name) { | 397 | bool check_is_in_eval_whitelist(const char* const function_name) { |
| 398 | const sp_list_node* it = SNUFFLEUPAGUS_G(config).config_eval->whitelist; | 398 | const sp_list_node* it = SNUFFLEUPAGUS_G(config).config_eval->whitelist; |
| 399 | 399 | ||
| 400 | if (!it->head) { | 400 | if (!it) { |
| 401 | return false; | 401 | return false; |
| 402 | } | 402 | } |
| 403 | 403 | ||
