aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-19 14:26:03 -0500
committerBradley Taunt <bt@btxx.org>2024-01-19 14:26:03 -0500
commit19b9bb2611b3ef28a42caad946e3d68cb6de6564 (patch)
tree91c6851e61f759280a035727c6213f9499805ef7
parentb70c754ca161fe7e68ce0a682cc5b5bdfd29c3d7 (diff)
Fixing more broken errors
-rw-r--r--ssgit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssgit.c b/ssgit.c
index 6af4d88..5b22f25 100644
--- a/ssgit.c
+++ b/ssgit.c
@@ -113,7 +113,7 @@ int process_file(const git_tree_entry *file, const char *root, const char *name,
printf("couldnt open file %s\n", path);
return 0;
}
- header(f, conf->repo_name, conf->description);
+ fprintf(f, "%s", header);
if (git_blob_is_binary(blob)) {
fputs("<p>binary file</p>", f);
@@ -156,7 +156,7 @@ int process_tree(const git_tree* tree, const char* tree_path, const struct Confi
FILE *f = fopen(index_path, "w");
- header(f, conf->repo_name, conf->description);
+ fprintf(f, "%s", header);
intro(f, conf->repo_name, conf->description);
fprintf(f, "<div class='listing'>");