X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/df63119302910587e280d91dce67f6537a671f74..06fe0c2f47eaf467db8ab1443e61dfa1c280f30a:/ui-view.c?ds=inline 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; }