diff options
Diffstat (limited to 'browse.c')
-rw-r--r-- | browse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,7 +57,7 @@ SLIST_HEAD(, file) list; /* * browse url = r->pname / BROWSE_URL / file->path */ -static size_t +size_t build_browse_url(struct kreq * r, struct file * file) { char action_url[PATH_MAX]; @@ -95,7 +95,7 @@ build_file_list(struct kreq * r, const struct file * request_dir) struct file *last_file; request_dir_len = file_get_data_path(request_dir, request_dir_path, - PATH_MAX); + PATH_MAX, NULL); if (request_dir_len == 0) { kutil_warn(r, NULL, "browse: Unable to build request dir path: %s", |