Skip to content

Commit 310c056

Browse files
committed
Fix build warning
This causes the build to fail on PHP-8.0 and higher.
1 parent 568df31 commit 310c056

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
@@ -3560,7 +3560,7 @@ static zend_bool header_injection(zend_string *str, zend_bool adrlist)
35603560
/* adrlists do not support folding, but swallow trailing line breaks */
35613561
&& !((adrlist && p[1] == '\0')
35623562
/* other headers support folding */
3563-
|| !adrlist && (p[1] == ' ' || p[1] == '\t'))) {
3563+
|| (!adrlist && (p[1] == ' ' || p[1] == '\t')))) {
35643564
return 1;
35653565
}
35663566
p++;

0 commit comments

Comments
 (0)