diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-12-14 16:16:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-12-14 16:16:34 +0000 |
commit | 568773df1dcf5ed043ca0c760eaf53f1705ceb34 (patch) | |
tree | 317a5993385d26b62e3561da29ca1f21f0842e75 /src/libutil/str_util.h | |
parent | 958449c027d3a01e113b92d009bd6ec28bfe71df (diff) | |
download | rspamd-568773df1dcf5ed043ca0c760eaf53f1705ceb34.tar.gz rspamd-568773df1dcf5ed043ca0c760eaf53f1705ceb34.zip |
[Minor] Don't use zero terminated strings
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r-- | src/libutil/str_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index 47abf062e..199a384ca 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -366,7 +366,9 @@ gint rspamd_strings_levenshtein_distance (const gchar *s1, gsize s1len, * @return new GString with the folded value */ GString *rspamd_header_value_fold (const gchar *name, + gsize name_len, const gchar *value, + gsize value_len, guint fold_max, enum rspamd_newlines_type how, const gchar *fold_on_chars); |