From 773421e8ba17637d994088c393d406226b516a30 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Oct 2013 14:01:25 +0000 Subject: - 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 --- protocols/MSN/src/msn_ws.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/MSN/src/msn_ws.cpp') 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; } -- cgit v1.2.3