1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

formdata: fix -Wcomma warning

clang 5.0 complains:
possible misuse of comma operator here [-Wcomma]

Change the comma to a semicolon to fix that.
This commit is contained in:
Marcel Raad 2017-05-11 10:01:58 +02:00
parent 31b39c40cf
commit b875250e32
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02

View File

@ -96,7 +96,7 @@ AddHttpPost(char *name, size_t namelength,
post->contenttype = contenttype; post->contenttype = contenttype;
post->contentheader = contentHeader; post->contentheader = contentHeader;
post->showfilename = showfilename; post->showfilename = showfilename;
post->userp = userp, post->userp = userp;
post->flags = flags | CURL_HTTPPOST_LARGE; post->flags = flags | CURL_HTTPPOST_LARGE;
} }
else else