Skip to content

Commit

Permalink
mqtt: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent a92657c commit 55ca169
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/modules/mqtt/mqtt_dispatch.c
Expand Up @@ -594,7 +594,7 @@ int mqtt_prepare_publish(str *topic, str *payload, int qos)
}

/**
*
*
*/
void mqtt_request_notify(
struct ev_loop *loop, struct ev_io *watcher, int revents)
Expand Down Expand Up @@ -636,7 +636,7 @@ void mqtt_request_notify(
}

/**
*
*
*/
int mqtt_publish(str *topic, str *payload, int qos)
{
Expand All @@ -655,7 +655,7 @@ int mqtt_publish(str *topic, str *payload, int qos)
}

/**
*
*
*/
int mqtt_prepare_subscribe(str *topic, int qos)
{
Expand Down Expand Up @@ -706,7 +706,7 @@ int mqtt_prepare_subscribe(str *topic, int qos)
}

/**
*
*
*/
int mqtt_subscribe(str *topic, int qos)
{
Expand All @@ -722,7 +722,7 @@ int mqtt_subscribe(str *topic, int qos)
}

/**
*
*
*/
int mqtt_prepare_unsubscribe(str *topic)
{
Expand Down Expand Up @@ -769,7 +769,7 @@ int mqtt_prepare_unsubscribe(str *topic)
}

/**
*
*
*/
int mqtt_unsubscribe(str *topic)
{
Expand Down
8 changes: 4 additions & 4 deletions src/modules/mqtt/mqtt_mod.c
Expand Up @@ -264,7 +264,7 @@ static int ki_mqtt_publish(sip_msg_t *msg, str *topic, str *payload, int qos)
}

/**
*
*
*/
static int fixup_mqtt_publish(void **param, int param_no)
{
Expand All @@ -281,7 +281,7 @@ static int fixup_mqtt_publish(void **param, int param_no)
}

/**
* Subscribe to the given topic.
* Subscribe to the given topic.
* Mqtt qos levels 0, 1 and 2 can be used.
* Used in cfg script.
*/
Expand Down Expand Up @@ -313,7 +313,7 @@ static int cmd_mqtt_subscribe(sip_msg_t *msg, char *topic, char *qos)
}

/**
* Subscribe to the given topic.
* Subscribe to the given topic.
* Mqtt qos levels 0, 1 and 2 can be used.
* Used in kemi script.
*/
Expand All @@ -330,7 +330,7 @@ static int ki_mqtt_subscribe(sip_msg_t *msg, str *topic, int qos)
}

/**
*
*
*/
static int fixup_mqtt_subscribe(void **param, int param_no)
{
Expand Down

0 comments on commit 55ca169

Please sign in to comment.