summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-27 11:07:32 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-27 11:07:32 +0000
commite1f7a37f157686aba073296c3458875b839577b5 (patch)
treea9c8e46272e32ca491e0b2586d7720b0f2bbb596 /utils
parenta269a82d1fee2eca4bee956b35ff8fd71e65c30e (diff)
downloadnetsurf-e1f7a37f157686aba073296c3458875b839577b5.tar.gz
netsurf-e1f7a37f157686aba073296c3458875b839577b5.tar.bz2
Port fetch layer to nsurl. Remove unused fetch_get_referer function.
svn path=/trunk/netsurf/; revision=12899
Diffstat (limited to 'utils')
-rw-r--r--utils/ring.h8
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; \