diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-07-20 14:44:05 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-07-20 14:44:05 -0400 |
commit | 9ceef9cf5043916754178370d8caf46a8fc79954 (patch) | |
tree | 9075cbf072b0fd175e4153d85eee0ad3c0074515 /blog.c | |
parent | 339cd70e8b9864a3d575a538112f9a7100b1a750 (diff) |
add .html to filenames
Diffstat (limited to 'blog.c')
-rw-r--r-- | blog.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ int handle_post(void) *end++ = '-'; } } + strcat(uri, ".html"); int newpost = openat(blogdir, uri, O_WRONLY | O_CREAT, 0644); if (newpost == -1) { |