diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-22 16:26:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-22 16:26:29 +0000 |
commit | 07d6070ead1579494e251c654f9424ec184b6851 (patch) | |
tree | 5aa4f4dbd8c7a6aa6b5faeb5553edeb6f523d93c /src/libutil | |
parent | ff982f60325a8cac8517f8383377c01a8dfb0a37 (diff) | |
download | rspamd-07d6070ead1579494e251c654f9424ec184b6851.tar.gz rspamd-07d6070ead1579494e251c654f9424ec184b6851.zip |
Remove ambiguity between %b format modifiers
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/printf.c | 2 | ||||
-rw-r--r-- | src/libutil/printf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/printf.c b/src/libutil/printf.c index 047532dd2..34638dbf6 100644 --- a/src/libutil/printf.c +++ b/src/libutil/printf.c @@ -738,7 +738,7 @@ rspamd_vprintf_common (rspamd_printf_append_func func, continue; - case 'b': + case 'B': bv = (gboolean) va_arg (args, double); RSPAMD_PRINTF_APPEND (bv ? "true" : "false", bv ? 4 : 5); diff --git a/src/libutil/printf.h b/src/libutil/printf.h index f2c46ffc9..95d344bee 100644 --- a/src/libutil/printf.h +++ b/src/libutil/printf.h @@ -41,7 +41,7 @@ * %[0][width][.width]F long double * %[0][width][.width]g double * %[0][width][.width]G long double - * %b boolean (true or false) + * %B boolean (true or false) * %P pid_t * %r rlim_t * %p void * |