summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-02 19:29:29 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-02 19:29:29 +0000
commit8fcd0f1d15244c555f6c09d921843f5bfab9eae8 (patch)
tree91a1511c8621d10f104a51bda8322168cf7d5b25
parent78aec7cecc05420086072d90a0519252fc5a58c1 (diff)
downloadnetsurf-8fcd0f1d15244c555f6c09d921843f5bfab9eae8.tar.gz
Put the original filename into the multipart structure so Curl can find it for upload.
-rw-r--r--render/form.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/form.c b/render/form.c
index ebe9b6f28..89d228c68 100644
--- a/render/form.c
+++ b/render/form.c
@@ -585,7 +585,7 @@ bool form_successful_controls(struct form *form,
success_new->name = ENCODE_ITEM(control->name);
success_new->value =
ENCODE_ITEM(control->value ?
- control->value : "");
+ control->filename_value : "");
success_new->next = 0;
last_success->next = success_new;
last_success = success_new;