aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2021-08-15 02:08:42 +0000
committerMichael McVady <femtonaut@gmail.com>2021-08-15 02:08:42 +0000
commit1d63cf7cbf413ec294f0c54816cd939bce06bb87 (patch)
tree14dd2ae0f451f03e5f466abb5b98d651c87aaa5f
parent5398969c4df8af7a59f377d14fa376b058572149 (diff)
Add minimal content
-rw-r--r--src/clog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clog.c b/src/clog.c
index 7205d87..31efef8 100644
--- a/src/clog.c
+++ b/src/clog.c
@@ -6,6 +6,7 @@ int page(struct http_request *);
int
page(struct http_request *req)
{
- http_response(req, 200, NULL, 0);
+ char *resp_body = "clog lives!\r\n";
+ http_response(req, 200, resp_body, strlen(resp_body));
return (KORE_RESULT_OK);
}