]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops: fix format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Aug 2019 14:52:46 +0000 (15:52 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Aug 2019 14:52:46 +0000 (15:52 +0100)
src/libserver/composites.c

index 9262e4101810d07e25fff02cdd1e85619175138c..df77c4f072f150c34fdc5c74e9aa775c6538858e 100644 (file)
@@ -155,8 +155,8 @@ rspamd_composite_expr_parse (const gchar *line, gsize len,
                                        re = rspamd_regexp_new (opts[i], NULL, &re_err);
 
                                        if (re == NULL) {
-                                               msg_err_pool ("cannot create regexp from string %s: %s",
-                                                               opts[i], err);
+                                               msg_err_pool ("cannot create regexp from string %s: %e",
+                                                               opts[i], re_err);
 
                                                g_error_free (re_err);
                                        }