aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-04 21:10:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-04 21:10:47 +0100
commit5c9d86cd9630a3b689198cfc0cb128541355c3a7 (patch)
tree42d6c51f6fa40d3d7945d17c42fed18a69f93b34 /src
parenta58ec2f3ee8323d97052c2fb7dca43f055edc7d5 (diff)
downloadrspamd-5c9d86cd9630a3b689198cfc0cb128541355c3a7.tar.gz
rspamd-5c9d86cd9630a3b689198cfc0cb128541355c3a7.zip
[Minor] Another stupid misprint
Diffstat (limited to 'src')
-rw-r--r--src/libserver/rspamd_symcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c
index 4bc2a8522..d6fa726c6 100644
--- a/src/libserver/rspamd_symcache.c
+++ b/src/libserver/rspamd_symcache.c
@@ -1309,7 +1309,7 @@ rspamd_symcache_validate_cb (gpointer k, gpointer v, gpointer ud)
if (item->is_virtual) {
if (!(item->type & SYMBOL_TYPE_GHOST)) {
- g_assert (item->specific.virtual.parent != 1);
+ g_assert (item->specific.virtual.parent != -1);
g_assert (item->specific.virtual.parent < (gint) cache->items_by_id->len);
parent = g_ptr_array_index (cache->items_by_id,
item->specific.virtual.parent);