diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-07-18 20:35:29 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-07-18 20:35:29 -0400 |
commit | 8197bb3617521d63943ac09db969bd7d66e6f9f7 (patch) | |
tree | e68a36f01ffcacb9f79eafba223ded33d7aa8dcd /index.c | |
parent | b3568f55b0d8d2a9d12c53c8dbee00be66c32d1d (diff) |
add newline for readability
Diffstat (limited to 'index.c')
-rw-r--r-- | index.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |