mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-07 12:30:53 +00:00
Bug fix by Kovatsch Matthias.
This commit is contained in:
parent
d862e9dcfb
commit
0b6f9c0e97
@ -101,7 +101,7 @@ int serialize_packet(coap_packet_t* packet, uint8_t* buffer)
|
|||||||
|
|
||||||
memcpy((char*)&buffer[index], option->value, option->len);
|
memcpy((char*)&buffer[index], option->value, option->len);
|
||||||
index += option->len;
|
index += option->len;
|
||||||
option_delta += option->option;
|
option_delta = option->option;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(packet->payload){
|
if(packet->payload){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user