diff options
Diffstat (limited to 'src/network/core/tcp_listen.h')
-rw-r--r-- | src/network/core/tcp_listen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_listen.h b/src/network/core/tcp_listen.h index 5668e48b2..28b6de8ac 100644 --- a/src/network/core/tcp_listen.h +++ b/src/network/core/tcp_listen.h @@ -116,7 +116,7 @@ public: } tv.tv_sec = tv.tv_usec = 0; // don't block at all. - if (select(FD_SETSIZE, &read_fd, &write_fd, NULL, &tv) < 0) return false; + if (select(FD_SETSIZE, &read_fd, &write_fd, nullptr, &tv) < 0) return false; /* accept clients.. */ for (auto &s : sockets) { |