Skip to content

Commit

Permalink
Merge pull request #90741 from yorickdewid/patch-1
Browse files Browse the repository at this point in the history
Fix missing return in `StreamPeerTCP::poll` when connection is `STATUS_CONNECTED`
  • Loading branch information
akien-mga committed Apr 16, 2024
2 parents dc8e82b + 61a2f5c commit 0ae1dcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/io/stream_peer_tcp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Error StreamPeerTCP::poll() {
status = STATUS_ERROR;
return err;
}
return OK;
} else if (status != STATUS_CONNECTING) {
return OK;
}
Expand Down

0 comments on commit 0ae1dcc

Please sign in to comment.