You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #29283 from qarmin/fix_some_always_same_values
Remove always true/false values
This commit is contained in:
@@ -421,7 +421,7 @@ Error NetSocketPosix::poll(PollType p_type, int p_timeout) const {
|
||||
pfd.events = POLLOUT;
|
||||
break;
|
||||
case POLL_TYPE_IN_OUT:
|
||||
pfd.events = POLLOUT || POLLIN;
|
||||
pfd.events = POLLOUT | POLLIN;
|
||||
}
|
||||
|
||||
int ret = ::poll(&pfd, 1, p_timeout);
|
||||
|
||||
Reference in New Issue
Block a user