]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-plain.c
CGIT 0.8.3.2
[ps-cgit] / ui-plain.c
index a4ce077ac512f4735ea693967a5a0b375473bbf7..66cb19cdbd1058e37e60157c40a18d1a782bb3ff 100644 (file)
@@ -88,7 +88,7 @@ void cgit_print_plain(struct cgit_context *ctx)
                return;
        }
        match_path = ctx->qry.path;
-       read_tree_recursive(commit->tree, NULL, 0, 0, paths, walk_tree, NULL);
+       read_tree_recursive(commit->tree, "", 0, 0, paths, walk_tree, NULL);
        if (!match)
                html_status(404, "Not found", 0);
 }