Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalife committed Nov 12, 2024
1 parent b543e5a commit 181518f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/mosquitto-plugin-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ int mosquitto_auth_plugin_cleanup(void* userdata, struct mosquitto_opt* auth_opt
return 0;
}


int mosquitto_auth_unpwd_check(void* userdata, struct mosquitto* client, const char* username, const char* password)
{
if (!username || !*username || !password || !*password)
Expand All @@ -34,14 +33,12 @@ int mosquitto_auth_unpwd_check(void* userdata, struct mosquitto* client, const c
return MOSQ_ERR_SUCCESS;
}


int mosquitto_auth_security_init(void* userdata, struct mosquitto_opt* auth_opts, int auth_opt_count, bool reload)
{
return MOSQ_ERR_SUCCESS;
}

int mosquitto_auth_security_cleanup(void* userdata, struct mosquitto_opt* auth_opts, int auth_opt_count,
bool reload)
int mosquitto_auth_security_cleanup(void* userdata, struct mosquitto_opt* auth_opts, int auth_opt_count, bool reload)
{
return MOSQ_ERR_SUCCESS;
}
Expand Down

0 comments on commit 181518f

Please sign in to comment.