Skip to content

Commit e946e9b

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents c6961a0 + 3a17712 commit e946e9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sapi/litespeed/lsapilib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,8 @@ static inline int isPipe( int fd )
635635
{
636636
char achPeer[128];
637637
socklen_t len = 128;
638-
if ((getpeername(fd, (struct sockaddr *)achPeer, &len) != 0 )
639-
&& (errno == ENOTCONN || errno == ENOTSOCK))
638+
if (( getpeername( fd, (struct sockaddr *)achPeer, &len ) != 0 )&&
639+
( errno == ENOTCONN ))
640640
return 0;
641641
else
642642
return 1;

0 commit comments

Comments
 (0)