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

Fix incorrect buf size argument caught by Coverity-scan

parent f26fbda3
No related branches found
No related tags found
No related merge requests found
......@@ -585,7 +585,7 @@ void sbbs_t::qwk_sec()
off_t l=flength(str);
bprintf(text[FiFilename], getfname(str));
bprintf(text[FiFileSize], ultoac((ulong)l,tmp)
, byte_estimate_to_str(l, tmp2, sizeof(tmp), /* units: */1024, /* precision: */1));
, byte_estimate_to_str(l, tmp2, sizeof(tmp2), /* units: */1024, /* precision: */1));
if(l>0L && cur_cps)
i=(uint)(l/(ulong)cur_cps);
......
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