summaryrefslogtreecommitdiff
path: root/browse.c
diff options
context:
space:
mode:
Diffstat (limited to 'browse.c')
-rw-r--r--browse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/browse.c b/browse.c
index b233c8b..801b539 100644
--- a/browse.c
+++ b/browse.c
@@ -114,8 +114,8 @@ build_file_list(struct kreq * r, const struct file * request_dir)
|| strcmp("..", dir->d_name) == 0)
continue;
/* build file path */
- file_path_len = url_build(file_path, PATH_MAX, r->path,
- dir->d_name, NULL);
+ file_path_len = path_build(file_path, PATH_MAX, r->path,
+ dir->d_name, NULL);
if (file_path_len == 0 || file_path_len >= PATH_MAX) {
kutil_warn(r, NULL,
"browse: unable to build file, skipping %s",