]> source.dussan.org Git - rspamd.git/commitdiff
Fix issue with base32 printing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 17 Dec 2015 18:47:34 +0000 (18:47 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 17 Dec 2015 18:47:34 +0000 (18:47 +0000)
src/libutil/printf.c

index c558b805a005c47fb3ae96fe3b7f98ced67d131f..047532dd24dafb3be521a1ab19e1f0c2aab22693 100644 (file)
@@ -579,7 +579,7 @@ rspamd_vprintf_common (rspamd_printf_append_func func,
                                        b32buf = rspamd_encode_base32 (p, slen);
 
                                        if (b32buf) {
-                                               RSPAMD_PRINTF_APPEND_BUF (b32buf, strlen (b32buf));
+                                               RSPAMD_PRINTF_APPEND (b32buf, strlen (b32buf));
                                                g_free (b32buf);
                                        }
                                }