diff options
-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) { |