summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_ws.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-11 14:01:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-11 14:01:25 +0000
commit773421e8ba17637d994088c393d406226b516a30 (patch)
tree130c0bf529e30f493ae4f2abbe1230d31fecdeed /protocols/MSN/src/msn_ws.cpp
parent3fc8b6f686262e8a595fc10b2bd947526ca77bdc (diff)
- m_hNetlibUser moved to PROTO_INTERFACE;
- unified protocol loggers git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_ws.cpp')
-rw-r--r--protocols/MSN/src/msn_ws.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/MSN/src/msn_ws.cpp b/protocols/MSN/src/msn_ws.cpp
index 5833dbf626..98d89698a2 100644
--- a/protocols/MSN/src/msn_ws.cpp
+++ b/protocols/MSN/src/msn_ws.cpp
@@ -42,7 +42,7 @@ int ThreadData::send(const char data[], size_t datalen)
if (rlen == SOCKET_ERROR)
{
// should really also check if sendlen is the same as datalen
- proto->MSN_DebugLog("Send failed: %d", WSAGetLastError());
+ proto->debugLogA("Send failed: %d", WSAGetLastError());
return FALSE;
}
@@ -91,7 +91,7 @@ bool ThreadData::isTimeout(void)
{
bool sbsess = mType == SERVER_SWITCHBOARD;
- proto->MSN_DebugLog("Dropping the idle %s due to inactivity", sbsess ? "switchboard" : "p2p");
+ proto->debugLogA("Dropping the idle %s due to inactivity", sbsess ? "switchboard" : "p2p");
if (!sbsess || termPending) return true;
if (proto->getByte("EnableSessionPopup", 0))
@@ -132,7 +132,7 @@ int ThreadData::recv(char* data, size_t datalen)
int ret = CallService(MS_NETLIB_SELECT, 0, (LPARAM)&nls);
if (ret < 0)
{
- proto->MSN_DebugLog("Connection abortively closed, error %d", WSAGetLastError());
+ proto->debugLogA("Connection abortively closed, error %d", WSAGetLastError());
return ret;
}
else if (ret == 0)
@@ -148,13 +148,13 @@ LBL_RecvAgain:
int ret = CallService(MS_NETLIB_RECV, (WPARAM)s, (LPARAM)&nlb);
if (ret == 0)
{
- proto->MSN_DebugLog("Connection closed gracefully");
+ proto->debugLogA("Connection closed gracefully");
return 0;
}
if (ret < 0)
{
- proto->MSN_DebugLog("Connection abortively closed, error %d", WSAGetLastError());
+ proto->debugLogA("Connection abortively closed, error %d", WSAGetLastError());
return ret;
}