Bug fix by Kovatsch Matthias.

This commit is contained in:
dogan yazar 2011-04-17 22:50:28 +02:00
parent d862e9dcfb
commit 0b6f9c0e97

View file

@ -101,7 +101,7 @@ int serialize_packet(coap_packet_t* packet, uint8_t* buffer)
memcpy((char*)&buffer[index], option->value, option->len);
index += option->len;
option_delta += option->option;
option_delta = option->option;
}
if(packet->payload){