Skip to content
Snippets Groups Projects
Commit cd4066a2 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve warning about enum value not handled in switch() statement

parent cd199b74
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2909 passed
......@@ -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 */
......
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