Skip to content

Commit

Permalink
Merge pull request 1248#7 from mbialon/master
Browse files Browse the repository at this point in the history
Include Content-Format option in the response
  • Loading branch information
tobyjaffey committed Jan 8, 2015
2 parents 9c24926 + 6aea9ea commit e123af9
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 e123af9

Please sign in to comment.