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

Replace silly memset/fwrite with fprintf().

parent 936a7006
No related branches found
No related tags found
No related merge requests found
......@@ -159,8 +159,8 @@ ulong sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, long mode, int subnum
/* Blank line: */
fprintf(hdrs,"\n");
}
memset(str,' ',QWK_BLOCK_LEN);
fwrite(str,QWK_BLOCK_LEN,1,qwk_fp); /* Init header to space */
fprintf(qwk_fp,"%*s",QWK_BLOCK_LEN,""); /* Init header to space */
if(msg->from_net.addr && (uint)subnum==INVALID_SUB) {
if(mode&QM_TO_QNET)
......
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