mshtml: Fixed comparing names in find_http_header.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
Jacek Caban 2015-10-05 15:50:27 +02:00 committed by Alexandre Julliard
parent 645ffcbdd3
commit a68d5d2da3
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ static http_header_t *find_http_header(struct list *headers, const WCHAR *name,
http_header_t *iter; http_header_t *iter;
LIST_FOR_EACH_ENTRY(iter, headers, http_header_t, entry) { LIST_FOR_EACH_ENTRY(iter, headers, http_header_t, entry) {
if(!strcmpiW(iter->header, name)) if(!strncmpiW(iter->header, name, len) && !iter->header[len])
return iter; return iter;
} }