From 7f5029df5978b7c077501026505f7ce03903f890 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 16 Nov 2020 13:38:41 +0100 Subject: [PATCH] Properly report connection errors to exit_vncviewer() --- vncviewer/CConn.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } } -- 2.39.5