aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/formdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index aa644ecb2..f2a4892bf 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -1425,6 +1425,7 @@ int Curl_FormInit(struct Form *form, struct FormData *formdata )
form->data = formdata;
form->sent = 0;
form->fp = NULL;
+ form->fread_func = ZERO_NULL;
return 0;
}