From ecc3e59fdc1d6ab066abffbe924b8d8376c477da Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 23 Jun 2004 11:40:29 +0000 Subject: [project @ 2004-06-23 11:40:29 by bursa] Fix destroying of contents after redirects. svn path=/import/netsurf/; revision=996 --- content/content.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 3d3e88702..39b1c7389 100644 --- a/content/content.c +++ b/content/content.c @@ -283,7 +283,8 @@ struct content * content_get(const char *url) struct content *c; for (c = content_list; c; c = c->next) { - if (c->fresh && strcmp(c->url, url) == 0) + if (c->fresh && c->status != CONTENT_STATUS_ERROR && + strcmp(c->url, url) == 0) return c; } -- cgit v1.2.3