aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 15:10:38 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 15:10:38 +0000
commit5e325a59787bdc2fbc306b2ded453c855c3fd6dd (patch)
treeae370cba81ddc15c2339c194df5af75813f81658 /src
parentd7eabf953dd5c75f5cc569c0234c7bcc29181dff (diff)
downloadrspamd-5e325a59787bdc2fbc306b2ded453c855c3fd6dd.tar.gz
rspamd-5e325a59787bdc2fbc306b2ded453c855c3fd6dd.zip
Print 'ms' suffix
Diffstat (limited to 'src')
-rw-r--r--src/libutil/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index 85ece5b4a..0580f945e 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -1169,7 +1169,7 @@ rspamd_log_check_time (gdouble start, gdouble end, gint resolution)
diff = (end - start) * 1000.0;
- rspamd_snprintf (fmt, sizeof (fmt), "%%.%df", resolution);
+ rspamd_snprintf (fmt, sizeof (fmt), "%%.%dfms", resolution);
rspamd_snprintf (res, sizeof (res), fmt, diff);
return (const gchar *)res;