diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-06 15:10:38 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-06 15:10:38 +0000 |
commit | 5e325a59787bdc2fbc306b2ded453c855c3fd6dd (patch) | |
tree | ae370cba81ddc15c2339c194df5af75813f81658 /src | |
parent | d7eabf953dd5c75f5cc569c0234c7bcc29181dff (diff) | |
download | rspamd-5e325a59787bdc2fbc306b2ded453c855c3fd6dd.tar.gz rspamd-5e325a59787bdc2fbc306b2ded453c855c3fd6dd.zip |
Print 'ms' suffix
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/util.c | 2 |
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; |