diff options
Diffstat (limited to 'ui-plain.c')
-rw-r--r-- | ui-plain.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,7 +185,7 @@ void cgit_print_plain(void) | |||
185 | cgit_print_error_page(404, "Not found", "Not found"); | 185 | cgit_print_error_page(404, "Not found", "Not found"); |
186 | return; | 186 | return; |
187 | } | 187 | } |
188 | commit = lookup_commit_reference(&oid); | 188 | commit = lookup_commit_reference(the_repository, &oid); |
189 | if (!commit || parse_commit(commit)) { | 189 | if (!commit || parse_commit(commit)) { |
190 | cgit_print_error_page(404, "Not found", "Not found"); | 190 | cgit_print_error_page(404, "Not found", "Not found"); |
191 | return; | 191 | return; |