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
|
@ -53,7 +53,7 @@ endpoint_response_text(endpoint_response_t *response, int status_code, const cha
|
|||
|
||||
response->status_code = status_code;
|
||||
response->content_type = "text/plain";
|
||||
if(content_length >= 0)
|
||||
if(content_length)
|
||||
{
|
||||
response->content_length = content_length;
|
||||
response->alloced_content = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue