summaryrefslogtreecommitdiff
path: root/src/soup.c
diff options
context:
space:
mode:
authorportix <none@none>2013-02-14 18:44:44 +0100
committerportix <none@none>2013-02-14 18:44:44 +0100
commit83a2d7ac01dba24e03f990632e25b3346fa48439 (patch)
treed492f8fae30d8e87b0e0d00d6582172754e46d17 /src/soup.c
parentcbb671a3430353e962880bf91d66362cc85fc8b6 (diff)
downloaddwb-83a2d7ac01dba24e03f990632e25b3346fa48439.zip
Remove domain_is_tld
Diffstat (limited to 'src/soup.c')
-rw-r--r--src/soup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soup.c b/src/soup.c
index 4c0eb007..0f75ba9a 100644
--- a/src/soup.c
+++ b/src/soup.c
@@ -287,7 +287,7 @@ dwb_soup_cookie_changed_cb(SoupCookieJar *jar, SoupCookie *old, SoupCookie *new,
if (*base == '.')
base++;
- if (domain_is_tld(base))
+ if (domain_get_tld(base) == NULL)
{
fprintf(stderr, "Site tried to set super-cookie @ TLD %s (base %s)\n", new->domain, base);
return;