Matt Coleman
3b52de7c1c
Simplify logic that determines when to send headers
The prior condition could be summarized as:
```
if ((first && second) || second) {
```
This will always evaluate to `second`:
```
((true && true) || true) == true
((false && true) || true) == true
((true && false) || false) == false
((false && false) || false) == false
```
Reported-by: Jeffrey Knapp <jknapp@datto.com>
2020-02-14 12:17:10 -05:00
..
2019-02-21 11:54:02 -05:00
2019-02-21 11:54:02 -05:00
2019-09-11 16:17:22 +02:00
2019-02-21 11:54:02 -05:00
2019-02-21 11:54:02 -05:00
2019-12-10 14:43:39 +08:00
2018-01-06 07:44:44 +10:00
2018-01-06 07:44:44 +10:00
2019-02-21 11:54:02 -05:00
2020-02-14 12:17:10 -05:00
2019-10-31 14:16:38 -07:00
2019-02-21 11:54:02 -05:00
2019-02-21 11:54:02 -05:00
2019-09-18 13:30:04 +02:00
2020-02-11 17:06:41 +10:00
2019-02-21 11:54:02 -05:00
2019-02-21 11:54:02 -05:00
2019-02-21 11:54:02 -05:00