mshtml: Fixed comparing names in find_http_header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
parent
645ffcbdd3
commit
a68d5d2da3
|
@ -363,7 +363,7 @@ static http_header_t *find_http_header(struct list *headers, const WCHAR *name,
|
|||
http_header_t *iter;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue