diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-11-22 13:23:03 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-22 13:23:03 +0100 |
commit | 9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993 (patch) | |
tree | 3fd8306bb874e1198a49f9a9ee9a7f417d10da92 /win/rfb_win32/SocketManager.cxx | |
parent | cd52658ff6e73aa1c36f01a8486ba346a869c848 (diff) | |
parent | 0af41e7fed978f934f3dc6ca8c99599a212467c5 (diff) | |
download | tigervnc-9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993.tar.gz tigervnc-9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993.zip |
Merge branch 'master' of https://github.com/madnicendio/tigervnc
Diffstat (limited to 'win/rfb_win32/SocketManager.cxx')
-rw-r--r-- | win/rfb_win32/SocketManager.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/rfb_win32/SocketManager.cxx b/win/rfb_win32/SocketManager.cxx index b42c66cb..7f6d1773 100644 --- a/win/rfb_win32/SocketManager.cxx +++ b/win/rfb_win32/SocketManager.cxx @@ -203,7 +203,7 @@ void SocketManager::processEvent(HANDLE event) { ListenInfo li = listeners[event]; // Accept an incoming connection - vlog.debug("accepting incoming connection"); + vlog.debug("Accepting incoming connection"); // What kind of event is this? WSANETWORKEVENTS network_events; @@ -217,13 +217,13 @@ void SocketManager::processEvent(HANDLE event) { if (new_sock) addSocket(new_sock, li.server, false); } else if (network_events.lNetworkEvents & FD_CLOSE) { - vlog.info("deleting listening socket"); + vlog.info("Deleting listening socket"); remListener(li.sock); } else if (network_events.lNetworkEvents & FD_ADDRESS_LIST_CHANGE) { li.notifier->processAddressChange(); requestAddressChangeEvents(li.sock); } else { - vlog.error("unknown listener event: %lx", network_events.lNetworkEvents); + vlog.error("Unknown listener event: %lx", network_events.lNetworkEvents); } } else if (connections.count(event)) { ConnInfo ci = connections[event]; @@ -236,7 +236,7 @@ void SocketManager::processEvent(HANDLE event) { // Fetch why this event notification triggered if (WSAEnumNetworkEvents(ci.sock->getFd(), event, &network_events) == SOCKET_ERROR) - throw rdr::socket_error("unable to get WSAEnumNetworkEvents:%u", WSAGetLastError()); + throw rdr::socket_error("Unable to get WSAEnumNetworkEvents:%u", WSAGetLastError()); // Cancel event notification for this socket if (WSAEventSelect(ci.sock->getFd(), event, 0) == SOCKET_ERROR) |