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 /desktop | |
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 'desktop')
-rw-r--r-- | desktop/download.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/download.c b/desktop/download.c index b0ca700d0..fd91ed396 100644 --- a/desktop/download.c +++ b/desktop/download.c @@ -146,7 +146,8 @@ static nserror download_context_process_headers(download_context *ctx) ctx->total_length = length; if (ctx->filename == NULL) { ctx->filename = download_default_filename( - llcache_handle_get_url(ctx->llcache)); + nsurl_access( + llcache_handle_get_url(ctx->llcache))); } http_content_type_destroy(content_type); @@ -287,7 +288,7 @@ void download_context_abort(download_context *ctx) /* See download.h for documentation */ const char *download_context_get_url(const download_context *ctx) { - return llcache_handle_get_url(ctx->llcache); + return nsurl_access(llcache_handle_get_url(ctx->llcache)); } /* See download.h for documentation */ |