X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c..86bf5b47916fbe53fe637d7181e93a34d2ad6d0c:/scan-tree.c diff --git a/scan-tree.c b/scan-tree.c index 2e87999..1cb4e5d 100644 --- a/scan-tree.c +++ b/scan-tree.c @@ -246,7 +246,7 @@ void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn projectsfile, strerror(errno), errno); return; } - while (strbuf_getline(&line, projects, '\n') != EOF) { + while (strbuf_getline(&line, projects) != EOF) { if (!line.len) continue; strbuf_insert(&line, 0, "/", 1);