commit ec069c5: [Minor] Oops: fix format string

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 15 14:56:09 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-15 15:52:46 +0100
URL: https://github.com/rspamd/rspamd/commit/ec069c555cd8591a15e9991154b9fdc60a905626 (HEAD -> master)

[Minor] Oops: fix format string

---
 src/libserver/composites.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libserver/composites.c b/src/libserver/composites.c
index 9262e4101..df77c4f07 100644
--- a/src/libserver/composites.c
+++ b/src/libserver/composites.c
@@ -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);
 					}


More information about the Commits mailing list