Skip to content
Snippets Groups Projects
Commit ffd292b6 authored by deuce's avatar deuce
Browse files

Use more common for() idiom.

parent 695f9809
No related branches found
No related tags found
No related merge requests found
...@@ -521,8 +521,7 @@ void sbbs_t::readmail(uint usernumber, int which) ...@@ -521,8 +521,7 @@ void sbbs_t::readmail(uint usernumber, int which)
bputs(text[MailOnSystemLstHdr]); bputs(text[MailOnSystemLstHdr]);
else else
bputs(text[MailWaitingLstHdr]); bputs(text[MailWaitingLstHdr]);
u=i; for(u=i;u<smb.msgs && !msgabort();u++) {
for(;u<smb.msgs && !msgabort();u++) {
if(msg.total_hfields) if(msg.total_hfields)
smb_freemsgmem(&msg); smb_freemsgmem(&msg);
msg.total_hfields=0; msg.total_hfields=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment