commit 556ebe7: [Minor] One more logging improvement

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jul 27 15:35:07 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-27 16:30:35 +0100
URL: https://github.com/rspamd/rspamd/commit/556ebe71a65d26705d68e21a792469ae083a8f8b (HEAD -> master)

[Minor] One more logging improvement

---
 src/libserver/html/html.cxx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index 3ec90c5dd..1c9a4c4a1 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -1821,8 +1821,7 @@ html_process_input(rspamd_mempool_t *pool,
 										"cannot parse css (error code: {}): {}",
 										static_cast<int>(ret_maybe.error().type),
 										ret_maybe.error().description.value_or("unknown error"));
-								msg_info_pool ("cannot parse css: %*s",
-										(int) err_str.size(), err_str.data());
+								msg_info_pool ("%*s", (int) err_str.size(), err_str.data());
 							}
 						}
 						else {


More information about the Commits mailing list