Skip to content
Snippets Groups Projects
Commit f3bcdb26 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

client_on() still accepts a BOOL (not bool), so TRUE (not true) is correct

parent c39838b4
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
...@@ -674,7 +674,7 @@ bool sbbs_t::answer() ...@@ -674,7 +674,7 @@ bool sbbs_t::answer()
} }
SAFECOPY(client.addr,cid); SAFECOPY(client.addr,cid);
SAFECOPY(client.host,client_name); SAFECOPY(client.host,client_name);
client_on(client_socket,&client,true /* update */); client_on(client_socket,&client,TRUE /* update */);
} else { } else {
if(telnet_location[0]) { /* Telnet Location info provided */ if(telnet_location[0]) { /* Telnet Location info provided */
lprintf(LOG_INFO, "Telnet Location: %s", telnet_location); lprintf(LOG_INFO, "Telnet Location: %s", telnet_location);
...@@ -706,7 +706,7 @@ bool sbbs_t::answer() ...@@ -706,7 +706,7 @@ bool sbbs_t::answer()
lprintf(LOG_NOTICE, "no Telnet commands received, reverting to Raw TCP mode"); lprintf(LOG_NOTICE, "no Telnet commands received, reverting to Raw TCP mode");
telnet_mode |= TELNET_MODE_OFF; telnet_mode |= TELNET_MODE_OFF;
client.protocol = "Raw"; client.protocol = "Raw";
client_on(client_socket, &client,/* update: */true); client_on(client_socket, &client,/* update: */TRUE);
SAFECOPY(connection, client.protocol); SAFECOPY(connection, client.protocol);
node_connection = NODE_CONNECTION_RAW; node_connection = NODE_CONNECTION_RAW;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment