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

Fix accidental static storage for login/logout functions

parent 01f21bdc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3697 passed
......@@ -684,7 +684,7 @@ int mqtt_client_on(struct mqtt* mqtt, BOOL on, int sock, client_t* client, BOOL
return result;
}
static int mqtt_user_login(struct mqtt* mqtt, client_t* client)
int mqtt_user_login(struct mqtt* mqtt, client_t* client)
{
char str[128];
char topic[128];
......@@ -705,7 +705,7 @@ static int mqtt_user_login(struct mqtt* mqtt, client_t* client)
return mqtt_pub_timestamped_msg(mqtt, TOPIC_BBS_ACTION, topic, time(NULL), str);
}
static int mqtt_user_logout(struct mqtt* mqtt, client_t* client, time_t logintime)
int mqtt_user_logout(struct mqtt* mqtt, client_t* client, time_t logintime)
{
char str[128];
char tmp[128];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment