diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-09 16:03:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-09 16:03:06 +0100 |
commit | 259cab02423faae0435695bc39e169b696b3d1fd (patch) | |
tree | defe75b5bb926bfc199b7171c65eb1803ca31071 /src/libutil/str_util.h | |
parent | 983883f45b57c8772256c68d6dbd51539f80e654 (diff) | |
download | rspamd-259cab02423faae0435695bc39e169b696b3d1fd.tar.gz rspamd-259cab02423faae0435695bc39e169b696b3d1fd.zip |
Allow to change fold_max variable.
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r-- | src/libutil/str_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index dcccc3d25..1d0a9eadb 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -168,6 +168,8 @@ gint rspamd_strings_levenshtein_distance (const gchar *s1, gsize s1len, * @param value value of header * @return new GString with the folded value */ -GString * rspamd_header_value_fold (const gchar *name, const gchar *value); +GString *rspamd_header_value_fold (const gchar *name, + const gchar *value, + guint fold_max); #endif /* SRC_LIBUTIL_STR_UTIL_H_ */ |