From 3b46161143f5651848b96bf823253016b337eadd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 14 Dec 2008 19:32:39 +0000 Subject: Remove error page svn path=/trunk/netsurf/; revision=5912 --- amiga/fetch_mailto.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'amiga/fetch_mailto.c') diff --git a/amiga/fetch_mailto.c b/amiga/fetch_mailto.c index 47a2e7c1d..39e8b2c0d 100755 --- a/amiga/fetch_mailto.c +++ b/amiga/fetch_mailto.c @@ -238,7 +238,6 @@ void ami_fetch_mailto_poll(const char *scheme_ignored) struct nsObject *node; struct nsObject *nnode; struct ami_mailto_fetch_info *fetch; - STRPTR errorstring = "launched in external program\0"; if(IsMinListEmpty(ami_mailto_fetcher_list)) return; @@ -254,9 +253,9 @@ void ami_fetch_mailto_poll(const char *scheme_ignored) URL_OpenA(fetch->url,NULL); - fetch_set_http_code(fetch->fetch_handle,200); - ami_fetch_mailto_send_callback(FETCH_ERROR, fetch, - errorstring, 0); + fetch_set_http_code(fetch->fetch_handle,302); + ami_fetch_mailto_send_callback(FETCH_REDIRECT, fetch, + fetch_get_referer(fetch->fetch_handle), 0); fetch_remove_from_queues(fetch->fetch_handle); fetch_free(fetch->fetch_handle); -- cgit v1.2.3