diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 09:33:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 09:33:30 +0000 |
commit | 535b7c921c5fc4d3f6cc6bff4ad321805e0ab070 (patch) | |
tree | 564e311ca0d6b04755cb72c7b82ef42647529431 /protocols/MSN/src/msn_errors.cpp | |
parent | 7196463c057555a935707304b48e0a2ab2ea3443 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14904 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_errors.cpp')
-rw-r--r-- | protocols/MSN/src/msn_errors.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
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:
|