diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
commit | 2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47 (patch) | |
tree | 0647010a17aee4237d125e42cc8bd726ec0573ae /content/content.c | |
parent | 89daef932a9bbc46e276f6d306b0aabf109806f9 (diff) | |
download | netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.gz netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.bz2 |
Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/content/content.c b/content/content.c index a247dda2b..a44eb2847 100644 --- a/content/content.c +++ b/content/content.c @@ -1409,28 +1409,3 @@ nserror content_abort(struct content *c) return llcache_handle_abort(c->llcache); } -/** - * Convert a content into a download - * - * \param h Content to convert - * \return Pointer to low-level cache handle - */ -llcache_handle *content_convert_to_download(hlcache_handle *h) -{ - struct content *c = hlcache_handle_get_content(h); - llcache_handle *stream = c->llcache; - - assert(c != NULL); - assert(c->status == CONTENT_STATUS_LOADING); - - /** \todo Is this safe? */ - c->llcache = NULL; - - /** \todo Tell the llcache to stream the data without caching it */ - - /** \todo Invalidate the content object so it's flushed from the - * cache at the earliest opportunity */ - - return stream; -} - |