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

strcat -> SAFECAT

CID 33625.
parent 1b56dc96
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -191,7 +191,7 @@ void sbbs_t::telnet_gate(char* destaddr, ulong mode, char* client_user_name, cha ...@@ -191,7 +191,7 @@ void sbbs_t::telnet_gate(char* destaddr, ulong mode, char* client_user_name, cha
rd=getstr((char*)buf,sizeof(buf)-1,l); rd=getstr((char*)buf,sizeof(buf)-1,l);
if(!rd) if(!rd)
continue; continue;
strcat((char*)buf,crlf); SAFECAT((char*)buf,crlf);
rd+=2; rd+=2;
gotline=true; gotline=true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment