summaryrefslogtreecommitdiffabout
path: root/ui-view.c
authorLars Hjemli <hjemli@gmail.com>2006-12-12 23:13:27 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-12 23:13:27 (UTC)
commit06fe0c2f47eaf467db8ab1443e61dfa1c280f30a (patch) (side-by-side diff)
tree481164eeeeb5ca3302f7b3d38d1debbad9db9296 /ui-view.c
parent58d04f6523b0029281d65f841859fa42d0c744ff (diff)
downloadcgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.zip
cgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.tar.gz
cgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.tar.bz2
Add display of tree content w/ui-tree.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-view.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-view.c b/ui-view.c
index 193c685..1bf8472 100644
--- a/ui-view.c
+++ b/ui-view.c
@@ -21,5 +21,5 @@ void cgit_print_view(char *hex)
}
- if (sha1_object_info(sha1, type, NULL)){
+ if (sha1_object_info(sha1, type, &size)){
cgit_print_error("Bad object name");
return;