summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/content.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/content.c b/content/content.c
index f39ba91d4..b80626cdf 100644
--- a/content/content.c
+++ b/content/content.c
@@ -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;