diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-09 13:52:35 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-10 12:01:05 +0200 |
commit | 4e921ffa31fdca2425d326efda1c6d9ad190359a (patch) | |
tree | 8d0fe130bd26dedb5c0754249734608217bbd6b9 /browse.c | |
parent | d7edafe299d44a0bec9d29e2b3a4ca853ffa1a80 (diff) |
upload: handle form submission
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", |