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
Compare Revisions
cd199b7451ce3a3b06ebec7e795c6a0f6bc3a5fb...cd4066a287da2b52e7aec7759253afa2d6ab3517
Commits (1)
Resolve warning about enum value not handled in switch() statement
· cd4066a2
Rob Swindell
authored
Mar 20, 2022
cd4066a2
Hide 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 */
...
...