mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-15 20:54:54 +03:00
coap_io_contiki.c: Fix coap_network_read
This commit is contained in:
1 parent
54652664fb
commit
2390abf8bd
1 file changed
+1
-1
@@ -195,7 +195,7 @@ coap_network_read(coap_socket_t *sock, coap_packet_t *packet) {
|
||||
return -1;
|
||||
}
|
||||
packet->length = len;
|
||||
memcpy(&packet->payload, uip_appdata, len);
|
||||
packet->payload = uip_appdata;
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user