[Commits] [SCM] claws branch, master, updated. 4.1.1-41-g9e1cb8b14
paul at claws-mail.org
paul at claws-mail.org
Mon Feb 13 09:28:16 UTC 2023
The branch, master has been updated
via 9e1cb8b14041fb17e06a9709b82e60b849f9381b (commit)
from 22480dc3a29c8a9f32a68749b5509b57849263f4 (commit)
Summary of changes:
src/main.c | 6 ++++++
1 file changed, 6 insertions(+)
- Log -----------------------------------------------------------------
commit 9e1cb8b14041fb17e06a9709b82e60b849f9381b
Author: Paul <paul at claws-mail.org>
Date: Mon Feb 13 09:28:12 2023 +0000
add spam session stats to command line output
diff --git a/src/main.c b/src/main.c
index bf1a9ac57..911fd0dfc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2768,6 +2768,12 @@ static void lock_socket_input_cb(gpointer data,
session_stats.received);
CM_FD_WRITE_ALL(tmp);
+ if (session_stats.spam > 0) {
+ g_snprintf(tmp, sizeof(tmp), _("Spam messages: %d\n"),
+ session_stats.spam);
+ CM_FD_WRITE_ALL(tmp);
+ }
+
CM_FD_WRITE_ALL("\n");
g_snprintf(tmp, sizeof(tmp), _("Outgoing traffic\n"));
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list