diff options
Diffstat (limited to 'win/winvnc/VNCServerWin32.cxx')
-rw-r--r-- | win/winvnc/VNCServerWin32.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/winvnc/VNCServerWin32.cxx b/win/winvnc/VNCServerWin32.cxx index 70f82ff0..55efabe1 100644 --- a/win/winvnc/VNCServerWin32.cxx +++ b/win/winvnc/VNCServerWin32.cxx @@ -151,8 +151,7 @@ void VNCServerWin32::regConfigChanged() { rfbSock.setPort(port_number, localHost); // -=- Update the TCP address filter for both ports, if open. - CharArray pattern(hosts.getData()); - rfbSock.setFilter(pattern.buf); + rfbSock.setFilter(hosts); // -=- Update the tray icon tooltip text with IP addresses processAddressChange(); |