fix some commas in HTTP.cpp that should be semicolons

This commit is contained in:
jacob1 2016-08-02 08:26:16 -04:00
parent 07e06efbe0
commit 9a855cc8cb

View File

@ -1022,7 +1022,7 @@ std::string GetMultipartMessage(std::map<std::string, std::string> parts, std::s
// add the header needed to make POSTS work
void http_add_multipart_header(void *ctx, std::string boundary)
{
std::string header = "multipart/form-data, boundary=" + boundary;
std::string header = "multipart/form-data; boundary=" + boundary;
http_async_add_header(ctx, "Content-type", header.c_str());
}
@ -1192,7 +1192,7 @@ retry:
if (data)
{
tmp = (char *)malloc(32+strlen((char *)boundary));
sprintf(tmp, "multipart/form-data, boundary=%s", boundary);
sprintf(tmp, "multipart/form-data; boundary=%s", boundary);
http_async_add_header(ctx, "Content-type", tmp);
free(tmp);
free(data);
@ -1380,7 +1380,7 @@ retry:
if (data)
{
tmp = (char *)malloc(32+strlen((char *)boundary));
sprintf(tmp, "multipart/form-data, boundary=%s", boundary);
sprintf(tmp, "multipart/form-data; boundary=%s", boundary);
http_async_add_header(ctx, "Content-type", tmp);
free(tmp);
free(data);