diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 20:56:07 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 20:56:07 +0100 |
commit | 170dc5d52419450edc440c054a94135c1cc1296a (patch) | |
tree | 0943167d6fa71716bd1cd8936b94cfd02fe10e5c /desktop/download.c | |
parent | bfb1bb119241d85bb9b400881328496e12a39aed (diff) | |
download | netsurf-170dc5d52419450edc440c054a94135c1cc1296a.tar.gz netsurf-170dc5d52419450edc440c054a94135c1cc1296a.tar.bz2 |
Excise the llcache query pathway.
In further preparation for the auth and cert queries being handled
as special contents from `about:` this excises the query pathway
from the llcache pretty much entirely.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'desktop/download.c')
-rw-r--r-- | desktop/download.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/desktop/download.c b/desktop/download.c index ba5d9bd65..e17855aa1 100644 --- a/desktop/download.c +++ b/desktop/download.c @@ -227,7 +227,7 @@ static nserror download_callback(llcache_handle *handle, case LLCACHE_EVENT_ERROR: if (ctx->window != NULL) - guit->download->error(ctx->window, event->data.msg); + guit->download->error(ctx->window, event->data.error.msg); else download_context_destroy(ctx); @@ -238,13 +238,6 @@ static nserror download_callback(llcache_handle *handle, case LLCACHE_EVENT_REDIRECT: break; - case LLCACHE_EVENT_QUERY: - case LLCACHE_EVENT_QUERY_FINISHED: - /* It's *POSSIBLE* we might have to handle these here - * but how? - */ - NSLOG(netsurf, DEBUG, "Encountered query related events during download handling"); - return NSERROR_NOT_IMPLEMENTED; } return error; |