diff options
-rw-r--r-- | src/libutil/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.c b/src/libutil/hash.c index 09d3a29c1..59ad981cd 100644 --- a/src/libutil/hash.c +++ b/src/libutil/hash.c @@ -701,7 +701,7 @@ rspamd_lru_hash_foreach (rspamd_lru_hash_t *h, int it, gpointer *k, return -1; } - return i; + return i + 1; } |