diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-26 18:08:18 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-26 18:08:18 +0400 |
commit | 513e304bc6255492eee5c78c97d222037087f429 (patch) | |
tree | d641429cc58d06f34a1944e5a0ddc43e9de62bd0 | |
parent | 44bc3a2baf0fa4b1b8edcbe0e0ead48a224b40ef (diff) | |
download | rspamd-513e304bc6255492eee5c78c97d222037087f429.tar.gz rspamd-513e304bc6255492eee5c78c97d222037087f429.zip |
Fix for *BSD.
-rw-r--r-- | src/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printf.c b/src/printf.c index 80af94e86..97b326547 100644 --- a/src/printf.c +++ b/src/printf.c @@ -31,7 +31,7 @@ static const int maxscale = 7; static gchar * -humanize_number (gchar *buf, gchar *last, gint64 num, gboolean bytes) +rspamd_humanize_number (gchar *buf, gchar *last, gint64 num, gboolean bytes) { const gchar *prefixes; int i, r, remainder, sign; @@ -646,7 +646,7 @@ rspamd_vsnprintf (gchar *buf, glong max, const gchar *fmt, va_list args) buf = rspamd_sprintf_num (buf, last, ui64, zero, hex, width); } else { - buf = humanize_number (buf, last, ui64, bytes); + buf = rspamd_humanize_number (buf, last, ui64, bytes); } fmt++; |