aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-17 13:44:00 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-17 17:18:50 +0100
commit79f82f95c1826b10fc39bc30ff1ecb00701557f7 (patch)
tree04f805fe01d81797639c62b1a8bc5236b19c4d27 /win/rfb_win32
parent3aaaf66fb11d2a3b4abce5609f9995892fe66cad (diff)
downloadtigervnc-79f82f95c1826b10fc39bc30ff1ecb00701557f7.tar.gz
tigervnc-79f82f95c1826b10fc39bc30ff1ecb00701557f7.zip
Local address change events are not socket specific
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/SocketManager.cxx2
-rw-r--r--win/rfb_win32/SocketManager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/SocketManager.cxx b/win/rfb_win32/SocketManager.cxx
index d4f1965a..b073b8fb 100644
--- a/win/rfb_win32/SocketManager.cxx
+++ b/win/rfb_win32/SocketManager.cxx
@@ -174,7 +174,7 @@ void SocketManager::processEvent(HANDLE event) {
vlog.info("deleting listening socket");
remListener(li.sock);
} else if (network_events.lNetworkEvents & FD_ADDRESS_LIST_CHANGE) {
- li.notifier->processAddressChange(li.sock);
+ li.notifier->processAddressChange();
requestAddressChangeEvents(li.sock);
} else {
vlog.error("unknown listener event: %lx", network_events.lNetworkEvents);
diff --git a/win/rfb_win32/SocketManager.h b/win/rfb_win32/SocketManager.h
index ef359749..c3c8fafd 100644
--- a/win/rfb_win32/SocketManager.h
+++ b/win/rfb_win32/SocketManager.h
@@ -48,7 +48,7 @@ namespace rfb {
class AddressChangeNotifier {
public:
virtual ~AddressChangeNotifier() {}
- virtual void processAddressChange(network::SocketListener* sl) = 0;
+ virtual void processAddressChange() = 0;
};
// Add a listening socket. Incoming connections will be added to the supplied