]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-view.c
Add display of tree content w/ui-tree.c
[ps-cgit] / ui-view.c
index 193c6858783f808577703840dd8ebc2ce344260c..1bf84722b75da0896d2817b635f75e875bc7a4f2 100644 (file)
--- 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;
        }