mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
change: make credentials const in wf_authenticate_fn (breaking change)
This commit is contained in:
@@ -20,7 +20,7 @@ wf_mountpoint * create_mountpoint(
|
||||
}
|
||||
|
||||
bool authenticate(
|
||||
wf_credentials * credentials,
|
||||
wf_credentials const * credentials,
|
||||
void * user_data)
|
||||
{
|
||||
(void) credentials;
|
||||
|
||||
@@ -37,7 +37,7 @@ wf_test_integration_lowlevel_on_disconnected(
|
||||
|
||||
bool
|
||||
wf_test_integration_lowlevel_authenticate(
|
||||
struct wf_credentials * credentials,
|
||||
struct wf_credentials const * credentials,
|
||||
void * )
|
||||
{
|
||||
char const * username = wf_credentials_get(credentials, "username");
|
||||
|
||||
Reference in New Issue
Block a user