Skip to content
Snippets Groups Projects
Commit 13020198 authored by rswindell's avatar rswindell
Browse files

sprintf->SAFEPRINTF

parent 723961b6
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,7 @@ void sbbs_t::scansubs(long mode)
found=listsub(usrsub[curgrp][i],SCAN_FIND,0,str);
subs_scanned++;
}
sprintf(tmp,"searched %lu sub-boards for '%s'"
,subs_scanned,str);
SAFEPRINTF(tmp, "searched %lu sub-boards for '%s'", subs_scanned, str);
logline(nulstr,tmp);
if(!found)
CRLF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment