diff options
author | Bradley Taunt <bt@btxx.org> | 2024-01-19 14:26:03 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-01-19 14:26:03 -0500 |
commit | 19b9bb2611b3ef28a42caad946e3d68cb6de6564 (patch) | |
tree | 91c6851e61f759280a035727c6213f9499805ef7 | |
parent | b70c754ca161fe7e68ce0a682cc5b5bdfd29c3d7 (diff) |
Fixing more broken errors
-rw-r--r-- | ssgit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'>"); |