Skip to content

Commit 35d620d

Browse files
committed
Removed trailing whitespace
1 parent 4dd99b3 commit 35d620d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mqtt-sn-pub.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ static void parse_opts(int argc, char** argv)
114114
if (!(topic_name || topic_id) || !message_data) {
115115
usage();
116116
}
117-
117+
118118
if (qos != -1 && qos != 0) {
119119
fprintf(stderr, "Error: only QoS level 0 or -1 is supported.\n");
120120
exit(-1);
@@ -176,7 +176,7 @@ int main(int argc, char* argv[])
176176

177177
close(sock);
178178
}
179-
179+
180180
mqtt_sn_cleanup();
181181

182182
return 0;

mqtt-sn-sub.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ int main(int argc, char* argv[])
141141

142142
// Parse the command-line options
143143
parse_opts(argc, argv);
144-
144+
145145
// Enable debugging?
146146
mqtt_sn_set_debug(debug);
147147

@@ -215,7 +215,7 @@ int main(int argc, char* argv[])
215215

216216
close(sock);
217217
}
218-
218+
219219
mqtt_sn_cleanup();
220220

221221
return 0;

mqtt-sn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void mqtt_sn_send_subscribe_topic_name(int sock, const char* topic_name, uint8_t
283283
{
284284
subscribe_packet_t packet;
285285
size_t topic_name_len = strlen(topic_name);
286-
286+
287287
packet.type = MQTT_SN_TYPE_SUBSCRIBE;
288288
packet.flags = 0x00;
289289
packet.flags += mqtt_sn_get_qos_flag(qos);
@@ -536,7 +536,7 @@ publish_packet_t* mqtt_sn_loop(int sock, int timeout)
536536

537537
FD_ZERO(&rfd);
538538
FD_SET(sock, &rfd);
539-
539+
540540
tv.tv_sec = timeout;
541541
tv.tv_usec = 0;
542542

0 commit comments

Comments
 (0)