summaryrefslogtreecommitdiff
path: root/amiga/fetch_file.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-03-28 15:51:05 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-03-28 15:51:05 +0000
commit5bb5cedec5170ac2aa06a340159256b55505c427 (patch)
treea163277fc30654ecd846b016f473e8a694231852 /amiga/fetch_file.c
parent5d074feaf2dd12cb91672106f006b4c1aaec2cf0 (diff)
downloadnetsurf-5bb5cedec5170ac2aa06a340159256b55505c427.tar.gz
netsurf-5bb5cedec5170ac2aa06a340159256b55505c427.tar.bz2
Changes required for new-cache
svn path=/trunk/netsurf/; revision=10186
Diffstat (limited to 'amiga/fetch_file.c')
-rwxr-xr-xamiga/fetch_file.c13
1 files changed, 1 insertions, 12 deletions
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;