Skip to content

Commit 82caa90

Browse files
author
Risto Huhtala
committed
Code review fix. Removing extra spaces
1 parent 9f0c004 commit 82caa90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/frameworks/mbed-coap/source/sn_coap_parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ static int8_t sn_coap_parser_options_parse(struct coap_s *handle, uint8_t **pack
310310
option_number = *(*packet_data_pptr + 1) + 13;
311311
(*packet_data_pptr)++;
312312
} else if (option_number == 14) {
313-
if ( message_left>= 2){
313+
if (message_left >= 2){
314314
option_number = *(*packet_data_pptr + 2);
315315
option_number += (*(*packet_data_pptr + 1) << 8) + 269;
316316
(*packet_data_pptr) += 2;
@@ -342,7 +342,7 @@ static int8_t sn_coap_parser_options_parse(struct coap_s *handle, uint8_t **pack
342342
option_len = *(*packet_data_pptr + 1) + 13;
343343
(*packet_data_pptr)++;
344344
} else if (option_len == 14) {
345-
if ( message_left>= 2){
345+
if (message_left >= 2){
346346
option_len = *(*packet_data_pptr + 2);
347347
option_len += (*(*packet_data_pptr + 1) << 8) + 269;
348348
(*packet_data_pptr) += 2;

0 commit comments

Comments
 (0)