aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/winvnc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/winvnc.cxx')
-rw-r--r--win/winvnc/winvnc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx
index d612a43e..ceee0c6f 100644
--- a/win/winvnc/winvnc.cxx
+++ b/win/winvnc/winvnc.cxx
@@ -177,13 +177,13 @@ static void processParams(int argc, char** argv) {
// Try to clean up earlier services we've had
try {
rfb::win32::unregisterService("WinVNC4");
- } catch (rdr::SystemException&) {
+ } catch (rdr::Win32Exception&) {
// Do nothing as we might fail simply because there was no
// service to remove
}
try {
rfb::win32::unregisterService("TigerVNC Server");
- } catch (rdr::SystemException&) {
+ } catch (rdr::Win32Exception&) {
}
if (rfb::win32::registerService(VNCServerService::Name,