From 535b7c921c5fc4d3f6cc6bff4ad321805e0ab070 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 09:33:30 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14904 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_errors.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'protocols/MSN/src/msn_errors.cpp') diff --git a/protocols/MSN/src/msn_errors.cpp b/protocols/MSN/src/msn_errors.cpp index 2f1e321c0f..6d6f31f8bc 100644 --- a/protocols/MSN/src/msn_errors.cpp +++ b/protocols/MSN/src/msn_errors.cpp @@ -58,9 +58,6 @@ int CMsnProto::MSN_HandleErrors(ThreadData* info, char* cmdString) } HReadBuffer buf(info, 0); -// char* msgBody = (char*)buf.surelyRead(atol(data.strMsgBytes)); - - debugLogA("Server error:%s", cmdString); switch (errorCode) { @@ -90,9 +87,9 @@ int CMsnProto::MSN_HandleErrors(ThreadData* info, char* cmdString) case ERR_DETAILED_ERR_IN_PAYLOAD: case ERR_LIST_UNAVAILABLE: - char* tWords[4]; - if (sttDivideWords(cmdString, _countof(tWords), tWords) == _countof(tWords)) - HReadBuffer(info, 0).surelyRead(atol(tWords[3])); + char* tErrWords[4]; + if (sttDivideWords(cmdString, _countof(tErrWords), tErrWords) == _countof(tErrWords)) + HReadBuffer(info, 0).surelyRead(atol(tErrWords[3])); return 0; case ERR_NOT_ONLINE: -- cgit v1.2.3