diff options
Diffstat (limited to 'browse.c')
-rw-r--r-- | browse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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", |