summaryrefslogtreecommitdiff
path: root/content/llcache.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-03-30 21:36:39 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-03-30 21:36:39 +0000
commit9f575c590b3c304ab02707ee3378bd2e4f4c9094 (patch)
treebb33f6c91c4ad3a5e74ff8fa9aee06454bec0658 /content/llcache.c
parent57e7a172e1b34a03cd62eb6c8537ba52a1c2a7b4 (diff)
downloadnetsurf-9f575c590b3c304ab02707ee3378bd2e4f4c9094.tar.gz
netsurf-9f575c590b3c304ab02707ee3378bd2e4f4c9094.tar.bz2
Do not abort fetch on receipt of FETCH_ERROR: the fetch has already been destroyed.
Implement LLCACHE_EVENT_ERROR case of hlcache_llcache_callback(). svn path=/trunk/netsurf/; revision=10218
Diffstat (limited to 'content/llcache.c')
-rw-r--r--content/llcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/llcache.c b/content/llcache.c
index 19bb7e089..49556b1fe 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -1327,7 +1327,7 @@ void llcache_fetch_callback(fetch_msg msg, void *p, const void *data,
/* Out-of-band information */
case FETCH_ERROR:
/* An error occurred while fetching */
- fetch_abort(object->fetch.fetch);
+ /* The fetch has has already been cleaned up by the fetcher */
object->fetch.fetch = NULL;
/** \todo Ensure this object becomes stale */