summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_errors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src/msn_errors.cpp')
-rw-r--r--protocols/MSN/src/msn_errors.cpp9
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: