aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/RegConfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/RegConfig.cxx')
-rw-r--r--win/rfb_win32/RegConfig.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/RegConfig.cxx b/win/rfb_win32/RegConfig.cxx
index fc006b21..e4ad5be5 100644
--- a/win/rfb_win32/RegConfig.cxx
+++ b/win/rfb_win32/RegConfig.cxx
@@ -54,7 +54,7 @@ bool RegConfig::setKey(const HKEY rootkey, const char* keyname) {
processEvent(event);
return true;
} catch (rdr::Exception& e) {
- vlog.debug("%s", e.str());
+ vlog.debug("%s", e.what());
return false;
}
}
@@ -71,7 +71,7 @@ void RegConfig::loadRegistryConfig(RegKey& key) {
}
} catch (rdr::Win32Exception& e) {
if (e.err != ERROR_INVALID_HANDLE)
- vlog.error("%s", e.str());
+ vlog.error("%s", e.what());
}
}