summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2020-02-24 14:17:58 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2020-02-24 14:21:27 +0000
commita47270c93eaa7bb76638c4c6dbef23359531651c (patch)
tree1fc9ec550313943aa224532371cb055cec43fab0 /content/fetchers
parente59e52b8539b041153e4cdd80756806b06cf4892 (diff)
downloadnetsurf-a47270c93eaa7bb76638c4c6dbef23359531651c.tar.gz
netsurf-a47270c93eaa7bb76638c4c6dbef23359531651c.tar.bz2
About fetches resources: Drop maps resource.
It had bitrotted.
Diffstat (limited to 'content/fetchers')
-rw-r--r--content/fetchers/about.c29
-rw-r--r--content/fetchers/resource.c1
2 files changed, 0 insertions, 30 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 4b8562cac..dda8fc823 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -686,28 +686,6 @@ static bool fetch_about_welcome_handler(struct fetch_about_context *ctx)
/**
- * Handler to generate about scheme maps page
- *
- * \param ctx The fetcher context.
- * \return true if handled false if aborted.
- */
-static bool fetch_about_maps_handler(struct fetch_about_context *ctx)
-{
- fetch_msg msg;
-
- /* content is going to return redirect */
- fetch_set_http_code(ctx->fetchh, 302);
-
- msg.type = FETCH_REDIRECT;
- msg.data.redirect = "resource:maps.html";
-
- fetch_about_send_callback(&msg, ctx);
-
- return true;
-}
-
-
-/**
* generate the description of the login query
*/
static nserror
@@ -1354,13 +1332,6 @@ struct about_handlers about_handler_list[] = {
false
},
{
- "maps",
- SLEN("maps"),
- NULL,
- fetch_about_maps_handler,
- false
- },
- {
"config",
SLEN("config"),
NULL,
diff --git a/content/fetchers/resource.c b/content/fetchers/resource.c
index 286f99e12..c17ffd979 100644
--- a/content/fetchers/resource.c
+++ b/content/fetchers/resource.c
@@ -56,7 +56,6 @@ static const char *fetch_resource_paths[] = {
"credits.html",
"licence.html",
"welcome.html",
- "maps.html",
"favicon.ico",
"default.ico",
"netsurf.png",