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_execute.c | |
| parent | 05e4b7ea67e07bb82db2a37930b383d51500b341 (diff) | |
Remove useless "head" member in our linked lists implementation
This should close #85
Diffstat (limited to 'src/sp_execute.c')
| -rw-r--r-- | src/sp_execute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c index ac7cee3..036f1a4 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c | |||
| @@ -50,7 +50,8 @@ is_in_eval_and_whitelisted(const zend_execute_data *execute_data) { | |||
| 50 | return; | 50 | return; |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | if (EXPECTED(NULL == SNUFFLEUPAGUS_G(config).config_eval->whitelist->data)) { | 53 | if (EXPECTED(NULL == SNUFFLEUPAGUS_G(config).config_eval->whitelist || |
| 54 | NULL == SNUFFLEUPAGUS_G(config).config_eval->whitelist->data)) { | ||
| 54 | return; | 55 | return; |
| 55 | } | 56 | } |
| 56 | 57 | ||
