summaryrefslogtreecommitdiff
path: root/content/fetchers/about.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-11-27 14:14:36 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-11-27 14:14:36 +0000
commit07309888d66c608977b31955215503dc355c7d33 (patch)
tree9cef52ee828b9e8231b1bf1db1716e6fba7fe3e5 /content/fetchers/about.c
parentf32fa6fa0ea54696cac77ee6de5c55b21ca889a5 (diff)
downloadnetsurf-07309888d66c608977b31955215503dc355c7d33.tar.gz
netsurf-07309888d66c608977b31955215503dc355c7d33.tar.bz2
return;
Fix bug #3442642: allow scheme-specific fetchers to have a say in whether an URL can be fetched. svn path=/trunk/netsurf/; revision=13182
Diffstat (limited to 'content/fetchers/about.c')
-rw-r--r--content/fetchers/about.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 402bb40bf..9b6ec88db 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -669,6 +669,11 @@ static void fetch_about_finalise(lwc_string *scheme)
}
}
+static bool fetch_about_can_fetch(const nsurl *url)
+{
+ return true;
+}
+
/** callback to set up a about fetch context. */
static void *
fetch_about_setup(struct fetch *fetchh,
@@ -792,6 +797,7 @@ void fetch_about_register(void)
fetch_add_fetcher(scheme,
fetch_about_initialise,
+ fetch_about_can_fetch,
fetch_about_setup,
fetch_about_start,
fetch_about_abort,