Skip to content

Commit

Permalink
fixup: reverse the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Nov 11, 2024
1 parent eb31ad0 commit d4c485c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void PosixEngineListenerImpl::AsyncConnectionAcceptor::NotifyOnAccept(
// Note: If we ever decide to return this address to the user, remember to
// strip off the ::ffff:0.0.0.0/96 prefix first.
int fd = Accept4(handle_->WrappedFd(), addr, 1, 1);
if (fd > 0) {
if (fd <= 0) {
switch (errno) {
case EINTR:
continue;
Expand Down

0 comments on commit d4c485c

Please sign in to comment.