mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +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;
|
||||
|
||||
while (link != NULL) {
|
||||
lwc_string_caseless_isequal(link->rel, rel, &rel_match);
|
||||
if (rel_match) {
|
||||
if (lwc_string_caseless_isequal(link->rel, rel,
|
||||
&rel_match) == lwc_error_ok && rel_match) {
|
||||
break;
|
||||
}
|
||||
link = link->next;
|
||||
|
Loading…
Reference in New Issue
Block a user