diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-19 12:35:14 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-19 12:35:14 +0000 |
commit | fb944bf43ed19dbefde63d009fb226ae552979e9 (patch) | |
tree | d8eb29ff895e05795a5ff33a5b21c03907aa8d66 /src/libutil/radix.c | |
parent | fa0ea290f2950eaa32d1620db0963f4cd671af5c (diff) | |
download | rspamd-fb944bf43ed19dbefde63d009fb226ae552979e9.tar.gz rspamd-fb944bf43ed19dbefde63d009fb226ae552979e9.zip |
Fix radix comparision for partial masks.
Diffstat (limited to 'src/libutil/radix.c')
-rw-r--r-- | src/libutil/radix.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libutil/radix.c b/src/libutil/radix.c index a71c3abc9..a7ef12375 100644 --- a/src/libutil/radix.c +++ b/src/libutil/radix.c @@ -404,10 +404,6 @@ radix_compare_compressed (struct radix_compressed_node *node, memcmp (node->d.s.key + skip, key + skip, shift - skip) != 0) { return FALSE; } - else { - /* We already know that we checked all elements prior to this one */ - return TRUE; - } } rbits = node->d.s.level % NBBY; |