Skip to content

Commit

Permalink
fixup! test: use context for sending additional blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed Nov 26, 2019
1 parent a5c1d61 commit 9564c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gcoap/gcoap_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static void _resp_handler(const gcoap_request_memo_t *memo, coap_pkt_t* pdu,
coap_opt_add_block2_control(pdu, &block);
int len = coap_opt_finish(pdu, COAP_OPT_FINISH_NONE);
gcoap_req_send((uint8_t *)pdu->hdr, len, remote,
_resp_handler, NULL);
_resp_handler, memo->context);
}
else {
puts("--- blockwise complete ---");
Expand Down

0 comments on commit 9564c6e

Please sign in to comment.