Skip to content

Commit

Permalink
Update pdu.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Koushik4082 authored May 17, 2018
1 parent 5f2d238 commit 5dc2fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ coap_add_token2(coap_pdu_t *pdu, size_t len, const unsigned char *data,
return 1;
}

int coap_add_token_for_empty_message(coap_pdu_t *pdu, size_t len, const unsigned char *data,
coap_transport_t transport)
int coap_add_token_to_empty_message(coap_pdu_t *pdu, size_t len, const unsigned char *data,
coap_transport_t transport)
{
const size_t HEADERLENGTH = len;
/* must allow for pdu == NULL as callers may rely on this */
Expand Down

0 comments on commit 5dc2fdc

Please sign in to comment.