diff options
Diffstat (limited to 'download.c')
-rw-r--r-- | download.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,8 +54,8 @@ download(struct kreq * r) http_exit(r, KHTTP_400, "download: Invalid request path"); /* build requested file path */ - path_size = url_build(file_path, URL_LENGTH_MAX, 2, DATA_DIR, - "File.txt"); + path_size = url_build(file_path, URL_LENGTH_MAX, DATA_DIR, "File.txt", + NULL); if (path_size == 0) http_exit(r, KHTTP_404, "download: Unable to build file path"); if (path_size >= URL_LENGTH_MAX) |