Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 1e1f08de authored by Rob Swindell's avatar Rob Swindell 💬

strcpy -> SAFECOPY

CID 33568
parent 94dbc396
......@@ -505,7 +505,7 @@ size_t sbbs_t::gettmplt(char *strout, const char *templt, long mode)
}
c=0;
if(mode&K_EDIT) {
strcpy(str,strout);
SAFECOPY(str,strout);
bputs(str);
c=strlen(str);
}
......@@ -544,7 +544,7 @@ size_t sbbs_t::gettmplt(char *strout, const char *templt, long mode)
attr(LIGHTGRAY);
CRLF;
if(!(sys_status&SS_ABORT))
strcpy(strout,str);
SAFECOPY(strout,str);
return(c);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment