summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/llcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/llcache.c b/content/llcache.c
index 71de3a070..503fea40c 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -1872,7 +1872,7 @@ void llcache_fetch_callback(const fetch_msg *msg, void *p)
*/
long http_code = fetch_http_code(object->fetch.fetch);
- if ((http_code != 200 && http_code != 203) &&
+ if ((http_code != 200 && http_code != 203) ||
(object->has_query &&
(object->cache.max_age == INVALID_AGE &&
object->cache.expires == 0))) {