Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
cd4066a2
Commit
cd4066a2
authored
Mar 20, 2022
by
Rob Swindell
💬
Browse files
Resolve warning about enum value not handled in switch() statement
parent
cd199b74
Pipeline
#2909
passed with stage
in 12 minutes and 25 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/sbbs3/websrvr.c
src/sbbs3/websrvr.c
+2
-0
No files found.
src/sbbs3/websrvr.c
View file @
cd4066a2
...
...
@@ -1911,6 +1911,8 @@ static BOOL check_ars(http_session_t * session)
return
can_user_access_all_dirs
(
&
scfg
,
session
->
libnum
,
&
session
->
user
,
&
session
->
client
);
case
PARSED_VPATH_DIR
:
return
can_user_access_dir
(
&
scfg
,
session
->
file
.
dir
,
&
session
->
user
,
&
session
->
client
);
default:
return
TRUE
;
}
}
/* No auth required, allow */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment