From 43c010f6e246b6131d393c7d238e742ee00d5ecd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Tue, 27 Feb 2024 17:55:26 -0500
Subject: [PATCH] Only log that we're waiting for channel type the first time.

The other 500 times are implied.
---
 src/sbbs3/answer.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/answer.cpp b/src/sbbs3/answer.cpp
index 4352d48bcb..c08cd997ab 100644
--- a/src/sbbs3/answer.cpp
+++ b/src/sbbs3/answer.cpp
@@ -369,7 +369,8 @@ bool sbbs_t::answer()
 						 *       appear to use arbitrary inter-character timeouts
 						 *       I'll just use a five second interpacket gap for now.
 						 */
-						lprintf(LOG_DEBUG, "%04d SSH [%s] waiting for channel type.", client_socket, client_ipaddr);
+						if (waits == 0)
+							lprintf(LOG_DEBUG, "%04d SSH [%s] waiting for channel type.", client_socket, client_ipaddr);
 						waits++;
 						SLEEP(10);
 						waits++;
-- 
GitLab