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