about summary refs log tree commit diff stats
path: root/ui-snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-snapshot.c')
-rw-r--r--ui-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c index 83ce6e8..92c3277 100644 --- a/ui-snapshot.c +++ b/ui-snapshot.c
@@ -174,7 +174,7 @@ static int write_sig(const struct cgit_snapshot_format *format,
174 return 0; 174 return 0;
175 } 175 }
176 176
177 buf = read_sha1_file(note->hash, &type, &size); 177 buf = read_object_file(note, &type, &size);
178 if (!buf) { 178 if (!buf) {
179 cgit_print_error_page(404, "Not found", "Not found"); 179 cgit_print_error_page(404, "Not found", "Not found");
180 return 0; 180 return 0;