diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-03 19:28:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-03 19:28:30 +0300 |
commit | f961dec19aae9d5fe5f81c522e619e1c82bcd83b (patch) | |
tree | d0509c368c9480cb10ac066069dc121e0bcecc67 /protocols | |
parent | 64db4c5a234b949ebb22ba3e1520d06822f255c9 (diff) |
fixes #616 (MRA: error message "Disconnected, socket read error")
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/MRA/src/MraMRIMProxy.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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;
}
|