X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/4a0be586662843382ecfa53af34a13b291312bc0..0df096f6e146187e55e2203ea1c017442cc2c8c6:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index 2679b59..bf5e6dc 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -139,7 +139,6 @@ void cgit_print_commit(char *hex) struct commitinfo *info; struct commit_list *p; unsigned char sha1[20]; - char *filename; char *tmp; int i; @@ -196,11 +195,9 @@ void cgit_print_commit(char *hex) html(")"); } if (cgit_repo->snapshots) { - htmlf("download%s", filename); + html("download"); + cgit_print_snapshot_links(cgit_query_repo,hex); + html(""); } html("\n"); html("
");