summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/generators.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generators.c b/src/generators.c
index 9109876..2e8cca6 100644
--- a/src/generators.c
+++ b/src/generators.c
@@ -1172,7 +1172,7 @@ write_auth_htaccess_file (TGallerySetup *setup,
const gchar *passwd_file_name,
TAlbum *items)
{
- FILE* f;
+ FILE *f;
f = fopen (dst, "a");
if (f == NULL) {
@@ -1192,6 +1192,7 @@ write_auth_htaccess_file (TGallerySetup *setup,
fprintf (f, "AuthBasicProvider file\n");
fprintf (f, "AuthUserFile %s\n", passwd_file_name);
fprintf (f, "Require user %s\n", items->auth_username);
+ fprintf (f, "\n"); /* newline */
break;
}