Explorar el Código

mqtt: removed trailing spaces

Daniel-Constantin Mierla hace 1 año
padre
commit
55ca1698f2
Se han modificado 2 ficheros con 10 adiciones y 10 borrados
  1. 6 6
      src/modules/mqtt/mqtt_dispatch.c
  2. 4 4
      src/modules/mqtt/mqtt_mod.c

+ 6 - 6
src/modules/mqtt/mqtt_dispatch.c

@@ -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)
@@ -636,7 +636,7 @@ void mqtt_request_notify(
 }
 
 /**
- * 
+ *
  */
 int mqtt_publish(str *topic, str *payload, int qos)
 {
@@ -655,7 +655,7 @@ int mqtt_publish(str *topic, str *payload, int qos)
 }
 
 /**
- * 
+ *
  */
 int mqtt_prepare_subscribe(str *topic, int qos)
 {
@@ -706,7 +706,7 @@ int mqtt_prepare_subscribe(str *topic, int qos)
 }
 
 /**
- * 
+ *
  */
 int mqtt_subscribe(str *topic, int qos)
 {
@@ -722,7 +722,7 @@ int mqtt_subscribe(str *topic, int qos)
 }
 
 /**
- * 
+ *
  */
 int mqtt_prepare_unsubscribe(str *topic)
 {
@@ -769,7 +769,7 @@ int mqtt_prepare_unsubscribe(str *topic)
 }
 
 /**
- * 
+ *
  */
 int mqtt_unsubscribe(str *topic)
 {

+ 4 - 4
src/modules/mqtt/mqtt_mod.c

@@ -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)
 {
@@ -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.
  */
@@ -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.
  */
@@ -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)
 {