diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-09-02 17:03:10 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-06 21:06:27 +0100 |
commit | f25de739ea359c2843a596457bcd22a28175b7a4 (patch) | |
tree | ae7bed3ed0d7e61938922540c7abdafbaa7e8938 /unix/vncconfig/vncconfig.cxx | |
parent | bdeaeebd48ad39898b804e0083ed1456cc64f24b (diff) | |
download | tigervnc-f25de739ea359c2843a596457bcd22a28175b7a4.tar.gz tigervnc-f25de739ea359c2843a596457bcd22a28175b7a4.zip |
Use what() to access exception description
Harmonize with the standard C++ exceptions.
Diffstat (limited to 'unix/vncconfig/vncconfig.cxx')
-rw-r--r-- | unix/vncconfig/vncconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncconfig/vncconfig.cxx b/unix/vncconfig/vncconfig.cxx index 1498bbdb..94d81cc7 100644 --- a/unix/vncconfig/vncconfig.cxx +++ b/unix/vncconfig/vncconfig.cxx @@ -336,7 +336,7 @@ int main(int argc, char** argv) XCloseDisplay(dpy); } catch (rdr::Exception &e) { - vlog.error("%s", e.str()); + vlog.error("%s", e.what()); } return 0; |