diff options
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; |