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
e8a1e958
Commit
e8a1e958
authored
9 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Fix build issue: lower-case enum name to sync with smbdefs.h.
parent
c3ae3857
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/userdat.c
+1
-1
1 addition, 1 deletion
src/sbbs3/userdat.c
src/sbbs3/userdat.h
+1
-1
1 addition, 1 deletion
src/sbbs3/userdat.h
with
2 additions
and
2 deletions
src/sbbs3/userdat.c
+
1
−
1
View file @
e8a1e958
...
...
@@ -2552,7 +2552,7 @@ BOOL DLLCALL can_user_post(scfg_t* cfg, uint subnum, user_t* user, client_t* cli
/* 'reason' is an (optional) pointer to a text.dat item number */
/* usernumber==0 for netmail */
/****************************************************************************/
BOOL
DLLCALL
can_user_send_mail
(
scfg_t
*
cfg
,
enum
SMB_NET_TYPE
net_type
,
uint
usernumber
,
user_t
*
user
,
uint
*
reason
)
BOOL
DLLCALL
can_user_send_mail
(
scfg_t
*
cfg
,
enum
smb_net_type
net_type
,
uint
usernumber
,
user_t
*
user
,
uint
*
reason
)
{
if
(
reason
!=
NULL
)
*
reason
=
R_Email
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/userdat.h
+
1
−
1
View file @
e8a1e958
...
...
@@ -115,7 +115,7 @@ DLLEXPORT int DLLCALL user_rec_len(int offset);
DLLEXPORT
BOOL
DLLCALL
can_user_access_sub
(
scfg_t
*
cfg
,
uint
subnum
,
user_t
*
user
,
client_t
*
client
);
DLLEXPORT
BOOL
DLLCALL
can_user_read_sub
(
scfg_t
*
cfg
,
uint
subnum
,
user_t
*
user
,
client_t
*
client
);
DLLEXPORT
BOOL
DLLCALL
can_user_post
(
scfg_t
*
cfg
,
uint
subnum
,
user_t
*
user
,
client_t
*
client
,
uint
*
reason
);
DLLEXPORT
BOOL
DLLCALL
can_user_send_mail
(
scfg_t
*
cfg
,
enum
SMB_NET_TYPE
,
uint
usernumber
,
user_t
*
user
,
uint
*
reason
);
DLLEXPORT
BOOL
DLLCALL
can_user_send_mail
(
scfg_t
*
cfg
,
enum
smb_net_type
,
uint
usernumber
,
user_t
*
user
,
uint
*
reason
);
DLLEXPORT
BOOL
DLLCALL
is_user_subop
(
scfg_t
*
cfg
,
uint
subnum
,
user_t
*
user
,
client_t
*
client
);
DLLEXPORT
BOOL
DLLCALL
is_download_free
(
scfg_t
*
cfg
,
uint
dirnum
,
user_t
*
user
,
client_t
*
client
);
DLLEXPORT
BOOL
DLLCALL
filter_ip
(
scfg_t
*
cfg
,
const
char
*
prot
,
const
char
*
reason
,
const
char
*
host
...
...
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