Skip to content

Commit 0ae1dcc

Browse files
committed
Merge pull request godotengine#90741 from yorickdewid/patch-1
Fix missing return in `StreamPeerTCP::poll` when connection is `STATUS_CONNECTED`
2 parents dc8e82b + 61a2f5c commit 0ae1dcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/io/stream_peer_tcp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Error StreamPeerTCP::poll() {
5151
status = STATUS_ERROR;
5252
return err;
5353
}
54+
return OK;
5455
} else if (status != STATUS_CONNECTING) {
5556
return OK;
5657
}

0 commit comments

Comments
 (0)