From: Vsevolod Stakhov Date: Tue, 26 Jul 2011 14:08:18 +0000 (+0400) Subject: Fix for *BSD. X-Git-Tag: 0.4.2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=513e304bc6255492eee5c78c97d222037087f429;p=rspamd.git Fix for *BSD. --- 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++;