From: Pierre Ossman Date: Mon, 16 Nov 2020 12:38:41 +0000 (+0100) Subject: Properly report connection errors to exit_vncviewer() X-Git-Tag: v1.11.90~91 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7f5029df5978b7c077501026505f7ce03903f890;p=tigervnc.git Properly report connection errors to exit_vncviewer() --- diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index 234564f6..ef1b2128 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -107,9 +107,7 @@ CConn::CConn(const char* vncServerName, network::Socket* socket=NULL) } } catch (rdr::Exception& e) { vlog.error("%s", e.str()); - if (alertOnFatalError) - fl_alert("%s", e.str()); - exit_vncviewer(); + exit_vncviewer(e.str()); return; } }