Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn authored Apr 8, 2024
1 parent 9f8a912 commit 0638446
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/net/application_layer/gcoap/gcoap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,6 @@ ssize_t gcoap_req_send(const uint8_t *buf, size_t len,
memo->msg.data.pdu_buf = NULL;
for (int i = 0; i < CONFIG_GCOAP_RESEND_BUFS_MAX; i++) {
if (!_coap_state.resend_bufs[i][0]) {

memo->msg.data.pdu_buf = &_coap_state.resend_bufs[i][0];
memcpy(memo->msg.data.pdu_buf, buf,
len);
Expand Down

0 comments on commit 0638446

Please sign in to comment.