aboutsummaryrefslogtreecommitdiff
path: root/src/Routes/Home.c
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-05 04:50:32 +0000
committerfrosty <gabriel@bwaaa.monster>2026-03-05 04:50:32 +0000
commit24cec7a35072ac50e1fe902a925e69330866dbca (patch)
treef60bb7c38b0b952e074f9b8f8d1cef758d7f8ec8 /src/Routes/Home.c
parent5ed5a6ecc749e8b557ea62f04a444e203f4e48f6 (diff)
downloadomnisearch-24cec7a35072ac50e1fe902a925e69330866dbca.tar.gz
made formatting more consistentHEADmaster
Diffstat (limited to 'src/Routes/Home.c')
-rw-r--r--src/Routes/Home.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Routes/Home.c b/src/Routes/Home.c
index 81370ba..4526a9d 100644
--- a/src/Routes/Home.c
+++ b/src/Routes/Home.c
@@ -2,13 +2,13 @@
#include <stdlib.h>
int home_handler(UrlParams *params) {
- (void)params;
- TemplateContext ctx = new_context();
- char *rendered_html = render_template("home.html", &ctx);
- send_response(rendered_html);
+ (void)params;
+ TemplateContext ctx = new_context();
+ char *rendered_html = render_template("home.html", &ctx);
+ send_response(rendered_html);
- free(rendered_html);
- free_context(&ctx);
+ free(rendered_html);
+ free_context(&ctx);
- return 0;
+ return 0;
}