mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
fix missing check of lwc_string_caseless_isequal() return value
This commit is contained in:
parent
ad5db89b49
commit
137bba2978
@ -788,8 +788,8 @@ content_find_rfc5988_link(hlcache_handle *h, lwc_string *rel)
|
|||||||
bool rel_match = false;
|
bool rel_match = false;
|
||||||
|
|
||||||
while (link != NULL) {
|
while (link != NULL) {
|
||||||
lwc_string_caseless_isequal(link->rel, rel, &rel_match);
|
if (lwc_string_caseless_isequal(link->rel, rel,
|
||||||
if (rel_match) {
|
&rel_match) == lwc_error_ok && rel_match) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
link = link->next;
|
link = link->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user