summaryrefslogtreecommitdiff
path: root/src/html/html_document.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-03-25 09:34:59 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-03-25 09:34:59 +0000
commit179f61771cb083a3f7b7116d2562ba9fc9103083 (patch)
tree6f06b16d9a9c3445335797c82db59b60b0097fab /src/html/html_document.c
parentfc4f4aff6c4c7d99314dc2a1ef57fe3176d974fb (diff)
downloadlibdom-179f61771cb083a3f7b7116d2562ba9fc9103083.tar.gz
libdom-179f61771cb083a3f7b7116d2562ba9fc9103083.tar.bz2
Spell Referrer properly, rather than HTTPish.
svn path=/trunk/libdom/; revision=13659
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r--src/html/html_document.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c
index 2ae6488..c342864 100644
--- a/src/html/html_document.c
+++ b/src/html/html_document.c
@@ -69,7 +69,7 @@ dom_exception _dom_html_document_initialise(dom_html_document *doc,
return error;
doc->title = NULL;
- doc->referer = NULL;
+ doc->referrer = NULL;
doc->domain = NULL;
doc->url = NULL;
doc->cookie = NULL;
@@ -83,7 +83,7 @@ void _dom_html_document_finalise(dom_html_document *doc)
dom_string_unref(doc->cookie);
dom_string_unref(doc->url);
dom_string_unref(doc->domain);
- dom_string_unref(doc->referer);
+ dom_string_unref(doc->referrer);
dom_string_unref(doc->title);
_dom_document_finalise(&doc->base);
@@ -241,10 +241,10 @@ dom_exception _dom_html_document_set_title(dom_html_document *doc,
return DOM_NO_ERR;
}
-dom_exception _dom_html_document_get_referer(dom_html_document *doc,
- dom_string **referer)
+dom_exception _dom_html_document_get_referrer(dom_html_document *doc,
+ dom_string **referrer)
{
- *referer = dom_string_ref(doc->referer);
+ *referrer = dom_string_ref(doc->referrer);
return DOM_NO_ERR;
}