summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-11-27 18:32:06 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-11-27 18:32:06 +0000
commit714f07c48b31ddd5f87f0cef891fbba08164529d (patch)
tree86cb6e6f6c2c14233a52db853331a2a22daaa57a /utils
parent07309888d66c608977b31955215503dc355c7d33 (diff)
downloadnetsurf-714f07c48b31ddd5f87f0cef891fbba08164529d.tar.gz
netsurf-714f07c48b31ddd5f87f0cef891fbba08164529d.tar.bz2
Rename nsurl_enquire to nsurl_has_component.
svn path=/trunk/netsurf/; revision=13183
Diffstat (limited to 'utils')
-rw-r--r--utils/nsurl.c2
-rw-r--r--utils/nsurl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/nsurl.c b/utils/nsurl.c
index 96c775e51..079a56c7b 100644
--- a/utils/nsurl.c
+++ b/utils/nsurl.c
@@ -1482,7 +1482,7 @@ lwc_string *nsurl_get_component(const nsurl *url, nsurl_component part)
/* exported interface, documented in nsurl.h */
-bool nsurl_enquire(const nsurl *url, nsurl_component part)
+bool nsurl_has_component(const nsurl *url, nsurl_component part)
{
assert(url != NULL);
diff --git a/utils/nsurl.h b/utils/nsurl.h
index 46496f212..62b8477a7 100644
--- a/utils/nsurl.h
+++ b/utils/nsurl.h
@@ -165,7 +165,7 @@ lwc_string *nsurl_get_component(const nsurl *url, nsurl_component part);
* NSURL_QUERY
* NSURL_FRAGMENT
*/
-bool nsurl_enquire(const nsurl *url, nsurl_component part);
+bool nsurl_has_component(const nsurl *url, nsurl_component part);
/**