diff options
Diffstat (limited to 'src/libutil/fstring.c')
-rw-r--r-- | src/libutil/fstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/fstring.c b/src/libutil/fstring.c index 967de9e98..b00b71e12 100644 --- a/src/libutil/fstring.c +++ b/src/libutil/fstring.c @@ -382,7 +382,7 @@ rspamd_ftok_starts_with (const rspamd_ftok_t *s1, g_assert (s1 != NULL && s2 != NULL); if (s1->len >= s2->len) { - return !!(memcmp (s1->begin, s2->begin, s1->len) == 0); + return !!(memcmp (s1->begin, s2->begin, s2->len) == 0); } return FALSE; |