We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6961a0 + 3a17712 commit e946e9bCopy full SHA for e946e9b
sapi/litespeed/lsapilib.c
@@ -635,8 +635,8 @@ static inline int isPipe( int fd )
635
{
636
char achPeer[128];
637
socklen_t len = 128;
638
- if ((getpeername(fd, (struct sockaddr *)achPeer, &len) != 0 )
639
- && (errno == ENOTCONN || errno == ENOTSOCK))
+ if (( getpeername( fd, (struct sockaddr *)achPeer, &len ) != 0 )&&
+ ( errno == ENOTCONN ))
640
return 0;
641
else
642
return 1;
0 commit comments