From f961dec19aae9d5fe5f81c522e619e1c82bcd83b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 Nov 2016 19:28:30 +0300 Subject: fixes #616 (MRA: error message "Disconnected, socket read error") --- protocols/MRA/src/MraMRIMProxy.cpp | 2 +- protocols/MRA/src/Mra_proto.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/MRA/src/MraMRIMProxy.cpp b/protocols/MRA/src/MraMRIMProxy.cpp index e70374d242..e3789af1e2 100644 --- a/protocols/MRA/src/MraMRIMProxy.cpp +++ b/protocols/MRA/src/MraMRIMProxy.cpp @@ -178,7 +178,7 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect } else { // disconnected dwRetErrorCode = GetLastError(); - ShowFormattedErrorMessage(L"Disconnected, socket read error", dwRetErrorCode); + debugLogA("Disconnected, socket read error %d", dwRetErrorCode); bContinue = FALSE; } } diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 6dbe4220c4..2245fd2604 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -280,7 +280,7 @@ DWORD CMraProto::MraNetworkDispatcher() if ( !dwBytesReceived || dwBytesReceived == SOCKET_ERROR) { // disconnected if (m_iStatus != ID_STATUS_OFFLINE) { dwRetErrorCode = GetLastError(); - ShowFormattedErrorMessage(L"Disconnected, socket read error", dwRetErrorCode); + debugLogA("Disconnected, socket read error %d", dwRetErrorCode); } break; } -- cgit v1.2.3