1
0
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:
Rémi Verschelde
2019-06-20 21:10:10 +02:00
committed by GitHub
32 changed files with 128 additions and 184 deletions

View File

@@ -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);