Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
38b3c275
Commit
38b3c275
authored
22 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
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
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/mail.cpp
+3
-8
3 additions, 8 deletions
src/sbbs3/mail.cpp
src/sbbs3/readmsgs.cpp
+6
-10
6 additions, 10 deletions
src/sbbs3/readmsgs.cpp
with
9 additions
and
18 deletions
src/sbbs3/mail.cpp
+
3
−
8
View file @
38b3c275
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/readmsgs.cpp
+
6
−
10
View file @
38b3c275
...
...
@@ -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
)
{
L
FREE
(
post
);
post
=
NULL
;
}
if
(
!
l
)
FREE
_AND_NULL
(
post
);
(
*
posts
)
=
l
;
return
(
post
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment