summaryrefslogtreecommitdiffstats
path: root/src/libutil/radix.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-19 12:35:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-19 12:35:14 +0000
commitfb944bf43ed19dbefde63d009fb226ae552979e9 (patch)
treed8eb29ff895e05795a5ff33a5b21c03907aa8d66 /src/libutil/radix.c
parentfa0ea290f2950eaa32d1620db0963f4cd671af5c (diff)
downloadrspamd-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.c4
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;