[project @ 2005-01-03 16:09:11 by jmb]

Fix race condition caused by introduction of downloads

svn path=/import/netsurf/; revision=1431
This commit is contained in:
John Mark Bell 2005-01-03 16:09:11 +00:00
parent 124f0741d6
commit 5b57548a6c
1 changed files with 2 additions and 2 deletions

View File

@ -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;