diff options
Diffstat (limited to 'utils/ring.h')
-rw-r--r-- | utils/ring.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/ring.h b/utils/ring.h index 8fab0f9ea..a40f882a2 100644 --- a/utils/ring.h +++ b/utils/ring.h @@ -113,10 +113,10 @@ ringtype *p = ring; \ sizevar = 0; \ do { \ - bool matches = false; \ - if (lwc_string_caseless_isequal(p->lwc_host, \ - lwc_hostname, \ - &matches) == lwc_error_ok) \ + bool matches = false; \ + /* nsurl guarantees lowercase host */ \ + if (lwc_string_isequal(p->host, lwc_hostname, \ + &matches) == lwc_error_ok) \ if (matches) \ sizevar++; \ p = p->r_next; \ |