From 24538b072718924d3418a258cf0009fb5b5768de Mon Sep 17 00:00:00 2001 From: Martins Polakovs Date: Thu, 10 Dec 2009 15:35:42 +0000 Subject: Fix segfault on ppc when browsing tree --- (limited to 'ui-tree.c') diff --git a/ui-tree.c b/ui-tree.c index f53ab64..a164767 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -280,6 +280,6 @@ void cgit_print_tree(const char *rev, char *path) } match_path = path; - read_tree_recursive(commit->tree, NULL, 0, 0, paths, walk_tree, NULL); + read_tree_recursive(commit->tree, "", 0, 0, paths, walk_tree, NULL); ls_tail(); } -- cgit v0.9.0.2