]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix variable name
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 26 Oct 2018 14:30:10 +0000 (15:30 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 26 Oct 2018 14:30:10 +0000 (15:30 +0100)
src/libserver/symbols_cache.c

index a98f4317ac441170d76cb1e88959fb643312f6c4..bf882c4dd9dbb1e11918a927321ec8b494ede823 100644 (file)
@@ -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);
                                }