From 55a7f90e4cd31e9481cace8ee5dfd682c27e810e Mon Sep 17 00:00:00 2001 From: tobo Date: Thu, 10 Feb 2022 16:47:27 +0300 Subject: Restoring authorship annotation for . Commit 2 of 2. --- util/network/socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/network/socket.cpp') 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; } } -- cgit v1.3