index
:
cgit
06fe0c2f47 (detached)
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
ui-view.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'ui-view.c')
-rw-r--r--
ui-view.c
2
1 file changed, 1 insertion, 1 deletion
diff --git a/ui-view.c b/ui-view.c
index 193c685..1bf8472 100644
--- a/
ui-view.c
+++ b/
ui-view.c
@@ -20,7 +20,7 @@ void cgit_print_view(char *hex)
return;
}
- if (sha1_object_info(sha1, type, NULL)){
+ if (sha1_object_info(sha1, type, &size)){
cgit_print_error("Bad object name");
return;
}