Skip to content

Commit

Permalink
Merge pull request #2 from sbernard31/sendtoken
Browse files Browse the repository at this point in the history
send token on error message.
  • Loading branch information
dnav committed Jul 24, 2014
2 parents 5955a2b + cb5b401 commit 620b63e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ void lwm2m_handle_packet(lwm2m_context_t * contextP,
response->payload = NULL;
response->payload_len = 0;
}
else
{
coap_error_code = message_send(contextP, response, fromSessionH);
}
}
else
{
Expand Down

0 comments on commit 620b63e

Please sign in to comment.