From 57547f7b1eef1f0d6384993cc60a33733b177a9e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 28 Sep 2011 14:21:35 +0000 Subject: Make llcache_handle_get_url return a nsurl. svn path=/trunk/netsurf/; revision=12905 --- content/llcache.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'content/llcache.c') 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 */ -- cgit v1.2.3