Skip to content
Snippets Groups Projects
Commit 43c010f6 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Only log that we're waiting for channel type the first time.

The other 500 times are implied.
parent c29737f9
No related branches found
No related tags found
No related merge requests found
Pipeline #5996 passed
......@@ -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++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment