summaryrefslogtreecommitdiffstats
path: root/util/network/socket.cpp
diff options
context:
space:
mode:
authortobo <[email protected]>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/network/socket.cpp
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
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;
}
}