aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/VNCServerWin32.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/VNCServerWin32.cxx')
-rw-r--r--win/winvnc/VNCServerWin32.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/VNCServerWin32.cxx b/win/winvnc/VNCServerWin32.cxx
index c1545ab6..9d722740 100644
--- a/win/winvnc/VNCServerWin32.cxx
+++ b/win/winvnc/VNCServerWin32.cxx
@@ -197,10 +197,10 @@ int VNCServerWin32::run() {
vlog.debug("Server exited cleanly");
} catch (rdr::Win32Exception &s) {
- vlog.error("%s", s.str());
+ vlog.error("%s", s.what());
result = s.err;
} catch (rdr::Exception &e) {
- vlog.error("%s", e.str());
+ vlog.error("%s", e.what());
}
{