Skip to content

Commit b74f5ee

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix build warning
2 parents 3d2c810 + 7544f66 commit b74f5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/imap/php_imap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3032,7 +3032,7 @@ static zend_bool header_injection(zend_string *str, zend_bool adrlist)
30323032
/* adrlists do not support folding, but swallow trailing line breaks */
30333033
&& !((adrlist && p[1] == '\0')
30343034
/* other headers support folding */
3035-
|| !adrlist && (p[1] == ' ' || p[1] == '\t'))) {
3035+
|| (!adrlist && (p[1] == ' ' || p[1] == '\t')))) {
30363036
return 1;
30373037
}
30383038
p++;

0 commit comments

Comments
 (0)