Skip to content

Commit 3a17712

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents 4b35b8b + 6f92e9c commit 3a17712

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)