From 9a855cc8cb01e2db3691f4c40b26457da31fdc47 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 2 Aug 2016 08:26:16 -0400 Subject: [PATCH] fix some commas in HTTP.cpp that should be semicolons --- src/client/HTTP.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/HTTP.cpp b/src/client/HTTP.cpp index d43a1d19c..6f28a069f 100644 --- a/src/client/HTTP.cpp +++ b/src/client/HTTP.cpp @@ -1022,7 +1022,7 @@ std::string GetMultipartMessage(std::map 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);