Fix CoAP bug with option parsing

This commit is contained in:
Simon Duquennoy 2017-11-29 08:39:10 -08:00
parent acb80082d4
commit a24a05f269

View File

@ -544,8 +544,6 @@ coap_parse_message(void *packet, uint8_t *data, uint16_t data_len)
return BAD_REQUEST_4_00;
}
option_number += option_delta;
PRINTF("OPTION %u (delta %u, len %zu): ", option_number, option_delta,
option_length);