talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 9e1cb8b14041fb17e06a9709b82e60b849f9381b
parent 22480dc3a29c8a9f32a68749b5509b57849263f4
Author: Paul <paul@claws-mail.org>
Date:   Mon, 13 Feb 2023 09:28:12 +0000

add spam session stats to command line output

Diffstat:
Msrc/main.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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"));