diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-17 12:17:25 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-17 12:17:25 +0000 |
commit | 49f1d589382f982897d348f04bdd0ec391cd0bee (patch) | |
tree | ab4c3a1b5a721ad5fe43c43a1231b5685a2a6c53 /content/fetchers | |
parent | 293c2b026bebb707d5537c75a763fae59d947c0c (diff) | |
download | netsurf-49f1d589382f982897d348f04bdd0ec391cd0bee.tar.gz netsurf-49f1d589382f982897d348f04bdd0ec391cd0bee.tar.bz2 |
Less bloated "license" spelling handler.
svn path=/trunk/netsurf/; revision=12092
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/about.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c index 0162a7b75..af3ac0911 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -156,17 +156,6 @@ static bool fetch_about_licence_handler(struct fetch_about_context *ctx) return true; } -static bool fetch_about_license_handler(struct fetch_about_context *ctx) -{ - /* content is going to return redirect to the noun */ - fetch_set_http_code(ctx->fetchh, 302); - - fetch_about_send_callback(FETCH_REDIRECT, ctx, "about:licence", - 0, FETCH_ERROR_NO_ERROR); - - return true; -} - static bool fetch_about_config_handler(struct fetch_about_context *ctx) { @@ -393,7 +382,7 @@ struct about_handlers { struct about_handlers about_handler_list[] = { { "credits", fetch_about_credits_handler, false }, { "licence", fetch_about_licence_handler, false }, - { "license", fetch_about_license_handler, true }, + { "license", fetch_about_licence_handler, true }, { "config", fetch_about_config_handler, false }, { "Choices", fetch_about_choices_handler, false }, { "testament", fetch_about_testament_handler, false }, |