From 3b8863f6d448c5b5477d3a80036243222975950e Mon Sep 17 00:00:00 2001 From: upstream svn Date: Tue, 3 Feb 2009 10:15:21 +0100 Subject: [PATCH] Upstream tarball 9407 --- .svn-revision | 2 +- src/ExternalConnector.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.svn-revision b/.svn-revision index e571a5f9..cf938ddf 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -9406 +9407 diff --git a/src/ExternalConnector.cpp b/src/ExternalConnector.cpp index 33adee13..460ec395 100644 --- a/src/ExternalConnector.cpp +++ b/src/ExternalConnector.cpp @@ -405,6 +405,9 @@ void CaMuleExternalConnector::ConnectAndRun(const wxString &ProgName, const wxSt // ConnectToCore is blocking since m_ECClient was initialized with NULL if (!m_ECClient->ConnectToCore(m_host, m_port, wxT("foobar"), m_password.Encode(), ProgName, ProgVersion)) { // no connection => close gracefully + if (!m_ECClient->GetServerReply().IsEmpty()) { + Show(CFormat(wxT("%s\n")) % m_ECClient->GetServerReply()); + } Show(CFormat(_("Connection Failed. Unable to connect to %s:%d\n")) % m_host % m_port); } else { // Authenticate ourselves -- 2.11.4.GIT