Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdeep1 committed Mar 3, 2022
1 parent 2dcac2e commit e489994
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,8 +1591,7 @@ track_echo(coap_session_t *session, coap_pdu_t *rcvd)
*/
int
coap_handle_response_send_block(coap_session_t *session, coap_pdu_t *sent,
coap_pdu_t *rcvd)
{
coap_pdu_t *rcvd) {
coap_lg_xmit_t *p;
coap_lg_xmit_t *q;
uint64_t token_match = STATE_TOKEN_BASE(coap_decode_var_bytes8(rcvd->token,
Expand Down Expand Up @@ -1781,8 +1780,7 @@ coap_handle_response_get_block(coap_context_t *context,
coap_session_t *session,
coap_pdu_t *sent,
coap_pdu_t *rcvd,
coap_recurse_t recursive)
{
coap_recurse_t recursive) {
coap_lg_crcv_t *p;
int app_has_response = 0;
coap_block_t block = {0, 0, 0};
Expand Down
3 changes: 1 addition & 2 deletions src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -2951,8 +2951,7 @@ handle_request(coap_context_t *context, coap_session_t *session, coap_pdu_t *pdu
#if COAP_CLIENT_SUPPORT
static void
handle_response(coap_context_t *context, coap_session_t *session,
coap_pdu_t *sent, coap_pdu_t *rcvd)
{
coap_pdu_t *sent, coap_pdu_t *rcvd) {
/* In a lossy context, the ACK of a separate response may have
* been lost, so we need to stop retransmitting requests with the
* same token.
Expand Down
3 changes: 1 addition & 2 deletions src/pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,7 @@ coap_remove_option(coap_pdu_t *pdu, coap_option_num_t number) {
}

static void
check_repeatable(coap_option_num_t number)
{
check_repeatable(coap_option_num_t number) {
/* Validate that the option is repeatable */
switch (number) {
/* Ignore list of genuine repeatable */
Expand Down

0 comments on commit e489994

Please sign in to comment.