summaryrefslogtreecommitdiff
path: root/content/fetchcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r--content/fetchcache.c4
1 files changed, 2 insertions, 2 deletions
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;