Commit 13020198 authored by rswindell's avatar rswindell
Browse files

sprintf->SAFEPRINTF

parent 723961b6
......@@ -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;
......
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