diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-12-14 19:32:39 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-12-14 19:32:39 +0000 |
commit | 3b46161143f5651848b96bf823253016b337eadd (patch) | |
tree | 1567969000ea3670d777588508419e82076fd29b /amiga/fetch_mailto.c | |
parent | 41b76fabe0d07801de789c090fb8c417322b1ef2 (diff) | |
download | netsurf-3b46161143f5651848b96bf823253016b337eadd.tar.gz netsurf-3b46161143f5651848b96bf823253016b337eadd.tar.bz2 |
Remove error page
svn path=/trunk/netsurf/; revision=5912
Diffstat (limited to 'amiga/fetch_mailto.c')
-rwxr-xr-x | amiga/fetch_mailto.c | 7 |
1 files changed, 3 insertions, 4 deletions
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); |