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

Re-load posts after validation/deletion

parent de4707c8
No related branches found
No related tags found
No related merge requests found
......@@ -674,12 +674,16 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find)
}
smb_unlocksmbhdr(&smb);
}
if(!msg.total_hfields) { /* unsuccessful reload */
domsg=0;
continue;
}
if(post)
free(post);
post=loadposts(&smb.msgs,subnum,0,lp,&unvalidated);
if(!smb.msgs)
break;
if(smb.curmsg>(smb.msgs-1))
smb.curmsg=(smb.msgs-1);
mismatches++;
continue;
}
}
}
else domsg=1;
......
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