diff options
Diffstat (limited to 'download.c')
-rw-r--r-- | download.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ download(struct kreq * r) }; goto end; } - path_size = file_get_data_path(f, file_path, PATH_MAX); + path_size = file_get_data_path(f, file_path, PATH_MAX, NULL); if (path_size == 0 || path_size >= PATH_MAX) { ret = (struct http_ret) { KHTTP_404, |