aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/VNCServerWin32.cxx
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/winvnc/VNCServerWin32.cxx
parent3aaaf66fb11d2a3b4abce5609f9995892fe66cad (diff)
downloadtigervnc-79f82f95c1826b10fc39bc30ff1ecb00701557f7.tar.gz
tigervnc-79f82f95c1826b10fc39bc30ff1ecb00701557f7.zip
Local address change events are not socket specific
Diffstat (limited to 'win/winvnc/VNCServerWin32.cxx')
-rw-r--r--win/winvnc/VNCServerWin32.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/winvnc/VNCServerWin32.cxx b/win/winvnc/VNCServerWin32.cxx
index 03899856..dbbf7c79 100644
--- a/win/winvnc/VNCServerWin32.cxx
+++ b/win/winvnc/VNCServerWin32.cxx
@@ -90,8 +90,8 @@ VNCServerWin32::~VNCServerWin32() {
}
-void VNCServerWin32::processAddressChange(network::SocketListener* sock_) {
- if (!trayIcon || (sock_ != rfbSock.sock))
+void VNCServerWin32::processAddressChange() {
+ if (!trayIcon)
return;
// Tool-tip prefix depends on server mode
@@ -144,7 +144,7 @@ void VNCServerWin32::regConfigChanged() {
httpSock.setFilter(pattern.buf);
// -=- Update the tray icon tooltip text with IP addresses
- processAddressChange(rfbSock.sock);
+ processAddressChange();
}