summaryrefslogtreecommitdiffstats
path: root/util/network/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util/network/socket.cpp')
-rw-r--r--util/network/socket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp
index c392d20dd35..4f6e8043462 100644
--- a/util/network/socket.cpp
+++ b/util/network/socket.cpp
@@ -163,7 +163,7 @@ int poll(struct pollfd fds[], nfds_t nfds, int timeout) noexcept {
int error = WSAGetLastError();
if (error == WSAEINVAL || error == WSAENOTSOCK) {
fd->revents = POLLNVAL;
- ++checked_sockets;
+ ++checked_sockets;
} else {
errno = EIO;
return -1;
@@ -188,7 +188,7 @@ int poll(struct pollfd fds[], nfds_t nfds, int timeout) noexcept {
if (FD_ISSET(fd->fd, &writefds)) {
fd->revents |= POLLOUT;
}
- ++checked_sockets;
+ ++checked_sockets;
}
}