Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Co-authored-by: Marian Buschsieweke <[email protected]>
  • Loading branch information
chrysn and maribu authored Apr 5, 2024
1 parent 870ef83 commit 2da8dbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/net/application_layer/cord/lc/cord_lc.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ static void _on_rd_init(const gcoap_request_memo_t *memo, coap_pkt_t *pdu,
* used as long as endpoint and resource lookup are both found */
size = full_buf_len;
memcpy(_result_buf, pdu->payload, full_buf_len);
} else {
}
else {
memcpy(_result_buf, pdu->payload, size);
}
_result_buf_len = size;
Expand Down

0 comments on commit 2da8dbb

Please sign in to comment.