summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-07-18 20:35:29 -0400
committerJakob Kaivo <jkk@ung.org>2019-07-18 20:35:29 -0400
commit8197bb3617521d63943ac09db969bd7d66e6f9f7 (patch)
treee68a36f01ffcacb9f79eafba223ded33d7aa8dcd
parentb3568f55b0d8d2a9d12c53c8dbee00be66c32d1d (diff)
add newline for readability
-rw-r--r--index.c2
1 files changed, 1 insertions, 1 deletions
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, "<a href=\"/%s\">%s</a><br>", uri, title);
+ dprintf(new_index, "<a href=\"/%s\">%s</a><br>\n", uri, title);
/* add old entries */
int old_index = openat(blogdir, index_path, O_RDONLY);