aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 07e5a0ddf..4f0845c3f 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -835,7 +835,7 @@ static CURLcode AddFormData(struct FormData **formp,
/* Since this is a file to be uploaded here, add the size of the actual
file */
if(!strequal("-", newform->line)) {
- struct stat file;
+ struct_stat file;
if(!stat(newform->line, &file)) {
*size += file.st_size;
}