From 8197bb3617521d63943ac09db969bd7d66e6f9f7 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 18 Jul 2019 20:35:29 -0400 Subject: add newline for readability --- index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.c b/index.c index 5bb7249..b5a543e 100644 --- a/index.c +++ b/index.c @@ -20,7 +20,7 @@ static void insert_into(int blogdir, char *index_dir, const char *uri, const cha int new_index = openat(blogdir, new_path, O_WRONLY | O_CREAT, 0644); dprintf(new_index, HTML_HEAD, "index"); - dprintf(new_index, "%s
", uri, title); + dprintf(new_index, "%s
\n", uri, title); /* add old entries */ int old_index = openat(blogdir, index_path, O_RDONLY); -- cgit v1.2.1