diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-06 15:41:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-06 15:41:16 +0100 |
commit | aac916db77b6ae58b7c0186d764e97a25482017c (patch) | |
tree | 52d58a063d790c699913116ee790b2a3019a6615 /src/libutil/mem_pool.c | |
parent | c7f92da47dcb17393132b713f75a4dbd41629819 (diff) | |
download | rspamd-aac916db77b6ae58b7c0186d764e97a25482017c.tar.gz rspamd-aac916db77b6ae58b7c0186d764e97a25482017c.zip |
Start miration to the new strings.
Diffstat (limited to 'src/libutil/mem_pool.c')
-rw-r--r-- | src/libutil/mem_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mem_pool.c b/src/libutil/mem_pool.c index ea5fa0bd8..6d8c37223 100644 --- a/src/libutil/mem_pool.c +++ b/src/libutil/mem_pool.c @@ -424,7 +424,7 @@ rspamd_mempool_fstrdup (rspamd_mempool_t * pool, const struct f_str_s *src) } newstr = rspamd_mempool_alloc (pool, src->len + 1); - memcpy (newstr, src->begin, src->len); + memcpy (newstr, src->str, src->len); newstr[src->len] = '\0'; return newstr; } |