aboutsummaryrefslogtreecommitdiffstats
path: root/ui-view.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-12-13 00:13:27 +0100
committerLars Hjemli <hjemli@gmail.com>2006-12-13 00:13:27 +0100
commit06fe0c2f47eaf467db8ab1443e61dfa1c280f30a (patch)
tree481164eeeeb5ca3302f7b3d38d1debbad9db9296 /ui-view.c
parent58d04f6523b0029281d65f841859fa42d0c744ff (diff)
Add display of tree content w/ui-tree.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-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
@@ -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;
}