Permalink
Browse files

make two identical comparisons the same

see 11 lines down
  • Loading branch information...
nigoroll committed Dec 5, 2018
1 parent b81bb71 commit 04d9a40a565c21380d3b8e64ee713d17e7636363
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/varnishd/cache/cache_hash.c
@@ -500,7 +500,7 @@ HSH_Lookup(struct req *req, struct objcore **ocp, struct objcore **bocp)
if (exp_oc != NULL) {
exp_oc->refcnt++;
*ocp = exp_oc;
if (EXP_Ttl_grace(req, exp_oc) > req->t_req) {
if (EXP_Ttl_grace(req, exp_oc) >= req->t_req) {
exp_oc->hits++;
Lck_Unlock(&oh->mtx);
return (HSH_GRACE);

0 comments on commit 04d9a40

Please sign in to comment.