From 5b57548a6c4fe252ab94308bfd9dafdb13df1405 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 3 Jan 2005 16:09:11 +0000 Subject: [project @ 2005-01-03 16:09:11 by jmb] Fix race condition caused by introduction of downloads svn path=/import/netsurf/; revision=1431 --- content/fetchcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content') diff --git a/content/fetchcache.c b/content/fetchcache.c index 32e201081..c93b6fe73 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -83,7 +83,7 @@ struct content * fetchcache(const char *url, LOG(("url %s", url1)); - if (!post_urlenc && !post_multipart) { + if (!post_urlenc && !post_multipart && !download) { if ((c = content_get(url1)) != NULL) { free(url1); if (!content_add_user(c, callback, p1, p2)) @@ -101,7 +101,7 @@ struct content * fetchcache(const char *url, return NULL; } - if (!post_urlenc && !post_multipart) + if (!post_urlenc && !post_multipart && !download) c->fresh = true; c->width = width; -- cgit v1.2.3