Skip to content

Commit

Permalink
Include Content-Format option in the response
Browse files Browse the repository at this point in the history
  • Loading branch information
mbialon committed Jan 8, 2015
1 parent 9c24926 commit 6aea9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coap.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ int coap_make_response(coap_rw_buffer_t *scratch, coap_packet_t *pkt, const uint
pkt->hdr.code = rspcode;
pkt->hdr.id[0] = msgid_hi;
pkt->hdr.id[1] = msgid_lo;
pkt->numopts = 0;
pkt->numopts = 1;

// need token in response
if (tok) {
Expand Down

0 comments on commit 6aea9ea

Please sign in to comment.