diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-05-08 19:04:41 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-05-08 19:04:41 +0400 |
commit | 17f26fd5ed8adec7a8c2c69ddac1934e56dff0c9 (patch) | |
tree | 11abad819be7a8195a8418406c66dc5595d5cdcd /src/fstring.h | |
parent | fe2efaafebe67860ec3f5b3c259208ce7db05eeb (diff) | |
download | rspamd-17f26fd5ed8adec7a8c2c69ddac1934e56dff0c9.tar.gz rspamd-17f26fd5ed8adec7a8c2c69ddac1934e56dff0c9.zip |
* Strip header values to avoid problems with libc functions
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h index f5d7fffa3..00fac9039 100644 --- a/src/fstring.h +++ b/src/fstring.h @@ -98,4 +98,9 @@ uint32_t fstrhash (f_str_t *str); */ char* fstrcstr (f_str_t *str, memory_pool_t *pool); +/* + * Strip fstr string from space symbols + */ +void fstrstrip (f_str_t *str); + #endif |