From 5bb5cedec5170ac2aa06a340159256b55505c427 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 28 Mar 2010 15:51:05 +0000 Subject: Changes required for new-cache svn path=/trunk/netsurf/; revision=10186 --- amiga/fetch_file.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'amiga/fetch_file.c') diff --git a/amiga/fetch_file.c b/amiga/fetch_file.c index bc03962ab..f0b509203 100755 --- a/amiga/fetch_file.c +++ b/amiga/fetch_file.c @@ -49,7 +49,6 @@ struct ami_file_fetch_info { int httpcode; int64 len; char *mimetype; - struct cache_data cachedata; }; static bool ami_fetch_file_initialise(const char *scheme); @@ -170,16 +169,6 @@ bool ami_fetch_file_start(void *vfetch) /* LOG(("ami file fetcher start")); */ - fetch->cachedata.req_time = time(NULL); - fetch->cachedata.res_time = time(NULL); - fetch->cachedata.date = 0; - fetch->cachedata.expires = 0; - fetch->cachedata.age = INVALID_AGE; - fetch->cachedata.max_age = 0; - fetch->cachedata.no_cache = true; - fetch->cachedata.etag = NULL; - fetch->cachedata.last_modified = 0; - return true; } @@ -268,7 +257,7 @@ void ami_fetch_file_poll(const char *scheme_ignored) if((len<1024) && (!fetch->aborted)) { ami_fetch_file_send_callback(FETCH_FINISHED, - fetch, &fetch->cachedata, 0, + fetch, NULL, 0, errorcode); fetch->aborted = true; -- cgit v1.2.3