commit 2592c61af7a32ec78b768ce63d560b386bd1e524
parent 6adb9b9b29d5843e662fad85c60c5c4265207b52
Author: Yersa Nordman <yersa@finwo.nl>
Date: Sun, 21 May 2023 23:34:00 +0200
Fix indenting issue
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/example.c b/example.c
@@ -12,7 +12,7 @@ void onServing(const char **addrs, int naddrs, void *udata) {
}
void route_get_hello(struct hs_udata *reqdata) {
- http_parser_header_set(reqdata->reqres->response, "Content-Type", "text/plain");
+ http_parser_header_set(reqdata->reqres->response, "Content-Type", "text/plain");
reqdata->reqres->response->body = strdup("Hello World!!");
reqdata->reqres->response->bodysize = strlen(reqdata->reqres->response->body);
http_server_response_send(reqdata, true);