Skip to content

Commit

Permalink
Return bad request by default from bootstrap write
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
  • Loading branch information
scop committed May 19, 2017
1 parent 31ebf4d commit 74dd26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/client/object_security.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ static uint8_t prv_security_write(uint16_t instanceId,
}

default:
return COAP_404_NOT_FOUND;
return COAP_400_BAD_REQUEST;
}
i++;
} while (i < numData && result == COAP_204_CHANGED);
Expand Down

0 comments on commit 74dd26c

Please sign in to comment.