Skip to content
Snippets Groups Projects
Commit 38b3c275 authored by rswindell's avatar rswindell
Browse files

Removed #inclusion of the now defunct post.h.

mail_t and post_t are now defined as SMBLIB's idxrec_t.
parent 8996db10
No related branches found
No related tags found
No related merge requests found
......@@ -265,14 +265,9 @@ mail_t* DLLCALL loadmail(smb_t* smb, ulong* msgs, uint usernumber
smb_unlocksmbhdr(smb);
return(NULL);
}
mail[l].offset=idx.offset;
mail[l].number=idx.number;
mail[l].to=idx.to;
mail[l].from=idx.from;
mail[l].subj=idx.subj;
mail[l].time=idx.time;
mail[l].attr=idx.attr;
l++; }
mail[l]=idx;
l++;
}
smb_unlocksmbhdr(smb);
*msgs=l;
return(mail);
......
......@@ -36,7 +36,6 @@
****************************************************************************/
#include "sbbs.h"
#include "post.h"
int sbbs_t::sub_op(uint subnum)
{
......@@ -237,16 +236,13 @@ post_t HUGE16 * sbbs_t::loadposts(long *posts, uint subnum, ulong ptr, long mode
if(skip)
continue; }
post[l].offset=idx.offset;
post[l].number=idx.number;
post[l].to=idx.to;
post[l].from=idx.from;
post[l].subj=idx.subj;
l++; }
memcpy(&post[l],&idx,sizeof(idx));
l++;
}
smb_unlocksmbhdr(&smb);
if(!l) {
LFREE(post);
post=NULL; }
if(!l)
FREE_AND_NULL(post);
(*posts)=l;
return(post);
}
......
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