summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-26 15:30:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-26 15:30:10 +0100
commit2ae394086bb5385ae4bc216cf694fe35692522a3 (patch)
treeebecb441710e826ce2bfda424a492dd6ed909005 /src
parentb8220636d99a27d7caa5dc213fe67205a4ba124a (diff)
downloadrspamd-2ae394086bb5385ae4bc216cf694fe35692522a3.tar.gz
rspamd-2ae394086bb5385ae4bc216cf694fe35692522a3.zip
[Minor] Fix variable name
Diffstat (limited to 'src')
-rw-r--r--src/libserver/symbols_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c
index a98f4317a..bf882c4dd 100644
--- a/src/libserver/symbols_cache.c
+++ b/src/libserver/symbols_cache.c
@@ -515,7 +515,7 @@ rspamd_symbols_cache_post_init (struct symbols_cache *cache)
dit = g_hash_table_lookup (cache->items_by_symbol, dep->sym);
if (dit != NULL) {
- if (dit->is_virtual != -1) {
+ if (dit->is_virtual) {
dit = g_ptr_array_index (cache->filters,
dit->specific.virtual.parent);
}