Skip to content
Snippets Groups Projects
Commit 83f2b0a1 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

examples/microcoap_server: fix .well-known/core endpoint

parent ed2c9476
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,8 @@ static int handle_get_well_known_core(coap_rw_buffer_t *scratch,
uint8_t id_hi, uint8_t id_lo)
{
char *rsp = (char *)response;
/* resetting the content of response message */
memset(response, 0, sizeof(response));
int len = sizeof(response);
const coap_endpoint_t *ep = endpoints;
int i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment