summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--scan-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan-tree.c b/scan-tree.c
index dbca797..ebfd41e 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -85,3 +85,3 @@ static void add_repo(const char *base, const char *path, repo_config_fn fn)
if (!stat(p, &st))
- repo->readme = "README.html";
+ repo->readme = xstrdup(p);