From d69ae891d53240886afb822bb0fb469aa13792a8 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 17 Jun 2016 17:13:13 +0200 Subject: [PATCH] mshtml: Pass correct name length to set_http_header in nsUploadChannel_SetUploadStream. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 711cca04387..cc59d0c254e 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));