diff options
Diffstat (limited to 'ui-view.c')
-rw-r--r-- | ui-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ void cgit_print_view(char *hex) | |||
20 | return; | 20 | return; |
21 | } | 21 | } |
22 | 22 | ||
23 | if (sha1_object_info(sha1, type, NULL)){ | 23 | if (sha1_object_info(sha1, type, &size)){ |
24 | cgit_print_error("Bad object name"); | 24 | cgit_print_error("Bad object name"); |
25 | return; | 25 | return; |
26 | } | 26 | } |