aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-23 12:37:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-23 12:37:05 +0100
commit39f1caa7b5e2cae20a618298ad5dfc9bfac83016 (patch)
treea38e396bc94c0de3737c418f6c6bd29506dcd5c4 /src/fuzzy_storage.c
parent4c2e8ff25d1cece2ea8d82e02d8479a3f1372130 (diff)
downloadrspamd-39f1caa7b5e2cae20a618298ad5dfc9bfac83016.tar.gz
rspamd-39f1caa7b5e2cae20a618298ad5dfc9bfac83016.zip
[Minor] Fix copy&paste error
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index f806cb87d..28f07c955 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -1334,7 +1334,7 @@ rspamd_fuzzy_extensions_from_wire (struct fuzzy_session *s, guchar *buf, gsize b
ext->length = sizeof (struct in6_addr);
ext->payload = dest;
memcpy (dest, p, sizeof (struct in6_addr));
- p += sizeof (in_addr_t);
+ p += sizeof (struct in6_addr);
data_buf += sizeof (struct in6_addr);
ext = ext->next;
}