From 84c90ed98b83651479a8ece0c46b2954c8b62a15 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Sat, 2 Mar 2024 15:37:06 -0800 Subject: [PATCH] client_on() still accepts a BOOL (not bool), so TRUE (not true) is correct --- src/sbbs3/answer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/answer.cpp b/src/sbbs3/answer.cpp index c61eb6ad7f..ee5a9aae40 100644 --- a/src/sbbs3/answer.cpp +++ b/src/sbbs3/answer.cpp @@ -674,7 +674,7 @@ bool sbbs_t::answer() } SAFECOPY(client.addr,cid); SAFECOPY(client.host,client_name); - client_on(client_socket,&client,true /* update */); + client_on(client_socket,&client,TRUE /* update */); } else { if(telnet_location[0]) { /* Telnet Location info provided */ lprintf(LOG_INFO, "Telnet Location: %s", telnet_location); @@ -706,7 +706,7 @@ bool sbbs_t::answer() lprintf(LOG_NOTICE, "no Telnet commands received, reverting to Raw TCP mode"); telnet_mode |= TELNET_MODE_OFF; client.protocol = "Raw"; - client_on(client_socket, &client,/* update: */true); + client_on(client_socket, &client,/* update: */TRUE); SAFECOPY(connection, client.protocol); node_connection = NODE_CONNECTION_RAW; } -- GitLab