diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-07-09 15:02:51 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2015-07-09 15:02:51 +0100 |
commit | 433f47641e501d30f55c55cb0a17c0397a35fd14 (patch) | |
tree | 26f2e84a3e456c17993c099a45e9afa90e5b7135 /utils/nsurl.h | |
parent | 6f1ed5979d9c2d775fedaa4d5defb9b1ea18f178 (diff) | |
download | netsurf-433f47641e501d30f55c55cb0a17c0397a35fd14.tar.gz netsurf-433f47641e501d30f55c55cb0a17c0397a35fd14.tar.bz2 |
Fix mention of nsurl_destroy.
Diffstat (limited to 'utils/nsurl.h')
-rw-r--r-- | utils/nsurl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/nsurl.h b/utils/nsurl.h index 13f7e5f47..b84f55eed 100644 --- a/utils/nsurl.h +++ b/utils/nsurl.h @@ -57,7 +57,7 @@ typedef enum nsurl_component { * * If return value != NSERROR_OK, nothing will be returned in url. * - * It is up to the client to call nsurl_destroy when they are finished with + * It is up to the client to call nsurl_unref when they are finished with * the created object. */ nserror nsurl_create(const char * const url_s, nsurl **url); @@ -224,7 +224,7 @@ uint32_t nsurl_hash(const nsurl *url); * * If return value != NSERROR_OK, nothing will be returned in join. * - * It is up to the client to call nsurl_destroy when they are finished with + * It is up to the client to call nsurl_unref when they are finished with * the created object. */ nserror nsurl_join(const nsurl *base, const char *rel, nsurl **joined); @@ -239,7 +239,7 @@ nserror nsurl_join(const nsurl *base, const char *rel, nsurl **joined); * * If return value != NSERROR_OK, nothing will be returned in no_frag. * - * It is up to the client to call nsurl_destroy when they are finished with + * It is up to the client to call nsurl_unref when they are finished with * the created object. */ nserror nsurl_defragment(const nsurl *url, nsurl **no_frag); @@ -255,7 +255,7 @@ nserror nsurl_defragment(const nsurl *url, nsurl **no_frag); * * If return value != NSERROR_OK, nothing will be returned in new_url. * - * It is up to the client to call nsurl_destroy when they are finished with + * It is up to the client to call nsurl_unref when they are finished with * the created object. * * Any fragment in url is replaced with frag in new_url. @@ -273,7 +273,7 @@ nserror nsurl_refragment(const nsurl *url, lwc_string *frag, nsurl **new_url); * * If return value != NSERROR_OK, nothing will be returned in new_url. * - * It is up to the client to call nsurl_destroy when they are finished with + * It is up to the client to call nsurl_unref when they are finished with * the created object. * * Any query component in url is replaced with query in new_url. @@ -304,7 +304,7 @@ nserror nsurl_nice(const nsurl *url, char **result, bool remove_extensions); * * If return value != NSERROR_OK, nothing will be returned in new_url. * - * It is up to the client to call nsurl_destroy when they are finished with + * It is up to the client to call nsurl_unref when they are finished with * the created object. * * As well as stripping top most path segment, query and fragments are stripped. |