diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-30 21:36:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-30 21:36:16 +0100 |
commit | eaae7226b37275a90199bc5d907c48374e48f294 (patch) | |
tree | 2177791b0e6fb78cfccba70eb42de2fbd79a8edd /src/libstat/stat_process.c | |
parent | c3387e839e38f97f0ff4f67ba9eb01f9ead5d07b (diff) | |
download | rspamd-eaae7226b37275a90199bc5d907c48374e48f294.tar.gz rspamd-eaae7226b37275a90199bc5d907c48374e48f294.zip |
[Minor] Fix bad zero terminated assumption
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r-- | src/libstat/stat_process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index e5c17ddff..02425b615 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -130,7 +130,8 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx, elt.len = part->ct->boundary.len; if (elt.len) { - msg_debug_task ("added stat tokens for mime boundary '%s'", elt.begin); + msg_debug_task ("added stat tokens for mime boundary '%*s'", + (gint)elt.len, elt.begin); g_array_append_val (ar, elt); } |