From e1f7a37f157686aba073296c3458875b839577b5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 27 Sep 2011 11:07:32 +0000 Subject: Port fetch layer to nsurl. Remove unused fetch_get_referer function. svn path=/trunk/netsurf/; revision=12899 --- utils/ring.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils') 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; \ -- cgit v1.2.3