aboutsummaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'http.c')
-rw-r--r--http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.c b/http.c
index e239972..9274ccb 100644
--- a/http.c
+++ b/http.c
@@ -1488,6 +1488,7 @@ static int apply_from_file(struct http_ctx *const h, struct form *const f)
*pf = (const struct http_post_file)
{
+ .name = f->name,
.tmpname = f->tmpname,
.filename = f->filename
};