Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c0f8bb6

Browse files
committed
Revert "fix pipe detection for STDERR."
This reverts commit a757f27.
1 parent a757f27 commit c0f8bb6

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
@@ -634,8 +634,8 @@ static inline int isPipe( int fd )
634634
{
635635
char achPeer[128];
636636
socklen_t len = 128;
637-
if ((getpeername(fd, (struct sockaddr *)achPeer, &len) != 0 )
638-
&& (errno == ENOTCONN ||errno==ENOTSOCK))
637+
if ((getpeername(fd, (struct sockaddr *)achPeer, &len) != 0 )&&
638+
( errno == ENOTCONN ))
639639
return 0;
640640
else
641641
return 1;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /