diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-03 16:09:11 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-03 16:09:11 +0000 |
commit | 5b57548a6c4fe252ab94308bfd9dafdb13df1405 (patch) | |
tree | a0b36ac0ea25e4bce93223913383eb45a054cf1d /content/fetchcache.c | |
parent | 124f0741d6ac5f63cdb88ec723ca77c00e9487e4 (diff) | |
download | netsurf-5b57548a6c4fe252ab94308bfd9dafdb13df1405.tar.gz netsurf-5b57548a6c4fe252ab94308bfd9dafdb13df1405.tar.bz2 |
[project @ 2005-01-03 16:09:11 by jmb]
Fix race condition caused by introduction of downloads
svn path=/import/netsurf/; revision=1431
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r-- | content/fetchcache.c | 4 |
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; |