From bca9510b25f790f84f59545a6b3a807cd2cd101d Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows 11)" <rob@synchro.net>
Date: Thu, 11 Jul 2024 19:38:22 -0700
Subject: [PATCH] Include current node number intead of socket descriptor in
 highwater log msg

looks better, more consistent with the log messages before/after it.
---
 src/sbbs3/main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp
index d63bd56990..aa065cc336 100644
--- a/src/sbbs3/main.cpp
+++ b/src/sbbs3/main.cpp
@@ -5925,8 +5925,8 @@ NO_SSH:
 		if(client_count > client_highwater) {
 			client_highwater = client_count;
 			if(client_highwater > 1)
-				lprintf(LOG_NOTICE, "%04d New active client highwater mark: %u"
-					,client_socket, client_highwater);
+				lprintf(LOG_NOTICE, "Node %d New active client highwater mark: %u"
+					,node_num, client_highwater);
 			mqtt_pub_uintval(&mqtt, TOPIC_SERVER, "highwater", client_highwater);
 		}
 	}
-- 
GitLab