Jacek Caban : mshtml: Pass correct name length to set_http_header in nsUploadChannel_SetUploadStream.

Alexandre Julliard julliard at winehq.org
Fri Jun 17 10:35:04 CDT 2016


Module: wine
Branch: master
Commit: d69ae891d53240886afb822bb0fb469aa13792a8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d69ae891d53240886afb822bb0fb469aa13792a8

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jun 17 17:13:13 2016 +0200

mshtml: Pass correct name length to set_http_header in nsUploadChannel_SetUploadStream.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/nsio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 711cca0..cc59d0c 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -1687,7 +1687,7 @@ static nsresult NSAPI nsUploadChannel_SetUploadStream(nsIUploadChannel *iface,
     const char *content_type;
 
     static const WCHAR content_typeW[] =
-        {'C','o','n','t','e','n','t','-','T','y','p','e',0};
+        {'C','o','n','t','e','n','t','-','T','y','p','e'};
 
     TRACE("(%p)->(%p %s %s)\n", This, aStream, debugstr_nsacstr(aContentType), wine_dbgstr_longlong(aContentLength));
 




More information about the wine-cvs mailing list