aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncconfig/Connections.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/vncconfig/Connections.h')
-rw-r--r--win/vncconfig/Connections.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/vncconfig/Connections.h b/win/vncconfig/Connections.h
index 8c8bb9aa..dfa5c79f 100644
--- a/win/vncconfig/Connections.h
+++ b/win/vncconfig/Connections.h
@@ -73,7 +73,7 @@ namespace rfb {
try {
network::TcpFilter::Pattern pat(network::TcpFilter::parsePattern(newPat.c_str()));
pattern = network::TcpFilter::patternToStr(pat);
- } catch(rdr::Exception& e) {
+ } catch(std::exception& e) {
MsgBox(nullptr, e.what(), MB_ICONEXCLAMATION | MB_OK);
return false;
}
@@ -235,7 +235,7 @@ namespace rfb {
(localHost != isItemChecked(IDC_LOCALHOST)) ||
(port_number != getItemInt(IDC_PORT)) ||
(rfb::Server::idleTimeout != getItemInt(IDC_IDLE_TIMEOUT));
- } catch (rdr::Exception&) {
+ } catch (std::exception&) {
return false;
}
}