Commit cd4066a2 authored by Rob Swindell's avatar 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
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment