aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-05-11 10:01:58 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-05-11 10:04:01 +0200
commitb875250e32048070401f5a3a23cdd9f47b15e114 (patch)
tree9cb7a37525bbd01519bd296f7c6de25de8051a9b
parent31b39c40cf909d34f27dc655755f346482f57089 (diff)
formdata: fix -Wcomma warning
clang 5.0 complains: possible misuse of comma operator here [-Wcomma] Change the comma to a semicolon to fix that.
-rw-r--r--lib/formdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index f8a93d594..e48a6276c 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -96,7 +96,7 @@ AddHttpPost(char *name, size_t namelength,
post->contenttype = contenttype;
post->contentheader = contentHeader;
post->showfilename = showfilename;
- post->userp = userp,
+ post->userp = userp;
post->flags = flags | CURL_HTTPPOST_LARGE;
}
else