diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-27 17:56:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-27 17:56:47 +0100 |
commit | 91287bb8407e3b9022bc663b07870510aedabbc3 (patch) | |
tree | 36fe3e2615d6d2dde4cd3eb3d8f382ac3d7dd2aa /src/libutil/printf.c | |
parent | 939cec679d83d4d1133e358d0377c1d57dde1d82 (diff) | |
download | rspamd-91287bb8407e3b9022bc663b07870510aedabbc3.tar.gz rspamd-91287bb8407e3b9022bc663b07870510aedabbc3.zip |
[Fix] Remove ambigious format flag from printf
Diffstat (limited to 'src/libutil/printf.c')
-rw-r--r-- | src/libutil/printf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libutil/printf.c b/src/libutil/printf.c index 7ee4d35e6..148b49d9e 100644 --- a/src/libutil/printf.c +++ b/src/libutil/printf.c @@ -602,7 +602,6 @@ rspamd_vprintf_common (rspamd_printf_append_func func, rspamd_ftok_t *tok; GString *gs; GError *err; - gboolean bv; while (*fmt) { @@ -969,12 +968,6 @@ rspamd_vprintf_common (rspamd_printf_append_func func, continue; - case 'B': - bv = (gboolean) va_arg (args, double); - RSPAMD_PRINTF_APPEND (bv ? "true" : "false", bv ? 4 : 5); - - continue; - case 'p': ui64 = (uintptr_t) va_arg (args, void *); hex = 2; |