add: macro endpoints
add: basic macro support fix: database locking with lock-pointer fix: memory leaks
This commit is contained in:
parent
6a2b94ef1c
commit
9d2c48d645
30 changed files with 606 additions and 213 deletions
src/endpoints
|
@ -193,7 +193,8 @@ api_v1_controllers_STR_DELETE(struct mg_connection *nc, struct http_message *hm,
|
|||
else
|
||||
{
|
||||
LOGGER_DEBUG("deleted controller %s\n", args[0].value.v_str);
|
||||
endpoint_response_text(response, 200, "", 0);
|
||||
static const char content[] = "delete controller";
|
||||
endpoint_response_text(response, 200, content, STRLEN(content));
|
||||
}
|
||||
controller_free(controller);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue