Fix build warning

This causes the build to fail on PHP-8.0 and higher.
This commit is contained in:
Nikita Popov 2021-04-27 10:10:22 +02:00
parent 568df31698
commit 310c0561a9

View File

@ -3560,7 +3560,7 @@ static zend_bool header_injection(zend_string *str, zend_bool adrlist)
/* adrlists do not support folding, but swallow trailing line breaks */
&& !((adrlist && p[1] == '\0')
/* other headers support folding */
|| !adrlist && (p[1] == ' ' || p[1] == '\t'))) {
|| (!adrlist && (p[1] == ' ' || p[1] == '\t')))) {
return 1;
}
p++;