[BUG] fix missing parenthesis in check_response_for_cacheability

Parenthesis were missed when code was moved to this function.
This results in non-cacheable transactions not being ignored.
This commit is contained in:
Willy Tarreau 2007-11-25 16:20:08 +01:00
parent 1fbe4932fc
commit 5df518788d

View File

@ -4475,7 +4475,7 @@ void check_response_for_cacheability(struct session *t, struct buffer *rtr)
char *cur_ptr, *cur_end, *cur_next;
int cur_idx;
if (!txn->flags & TX_CACHEABLE)
if (!(txn->flags & TX_CACHEABLE))
return;
/* Iterate through the headers.