diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-28 14:21:35 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-28 14:21:35 +0000 |
commit | 57547f7b1eef1f0d6384993cc60a33733b177a9e (patch) | |
tree | 1cdae799f784d8977f5c539786c88acafa41cfb7 /content/llcache.c | |
parent | 861f88aa43cebd6dbfd0ecde175a4e81b995c2a1 (diff) | |
download | netsurf-57547f7b1eef1f0d6384993cc60a33733b177a9e.tar.gz netsurf-57547f7b1eef1f0d6384993cc60a33733b177a9e.tar.bz2 |
Make llcache_handle_get_url return a nsurl.
svn path=/trunk/netsurf/; revision=12905
Diffstat (limited to 'content/llcache.c')
-rw-r--r-- | content/llcache.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/content/llcache.c b/content/llcache.c index 124f98652..1c9641121 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -548,11 +548,9 @@ nserror llcache_handle_invalidate_cache_data(llcache_handle *handle) } /* See llcache.h for documentation */ -const char *llcache_handle_get_url(const llcache_handle *handle) +nsurl *llcache_handle_get_url(const llcache_handle *handle) { - /* TODO: return a nsurl? */ - return handle->object != NULL ? - nsurl_access(handle->object->url) : NULL; + return handle->object != NULL ? handle->object->url : NULL; } /* See llcache.h for documentation */ |