[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-35-g867de67c5

paul at claws-mail.org paul at claws-mail.org
Mon Feb 13 09:29:18 UTC 2023


The branch, gtk2 has been updated
       via  867de67c53fc50d648e2c40548539a8c8b4181e4 (commit)
      from  482a9a89cfe798a0212d1295be409bf57c8f572c (commit)

Summary of changes:
 src/main.c | 6 ++++++
 1 file changed, 6 insertions(+)


- Log -----------------------------------------------------------------
commit 867de67c53fc50d648e2c40548539a8c8b4181e4
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 f18060ec3..dd41dfc99 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2771,6 +2771,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