summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-04 16:28:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-04 16:28:40 +0000
commit89180a5137c945c2f1b6877438e239c9cdf2b508 (patch)
tree1d111e671a5c470e59832e1c6ce015b78d553f3a /protocols
parent92721be0b4047c16226697764a6a79e5b965fde9 (diff)
fix for a contact addition
git-svn-id: http://svn.miranda-ng.org/main/trunk@5943 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MRA/src/Mra_proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp
index 052cb10e8d..2667df704e 100644
--- a/protocols/MRA/src/Mra_proto.cpp
+++ b/protocols/MRA/src/Mra_proto.cpp
@@ -747,8 +747,6 @@ bool CMraProto::CmdUserStatus(BinBuffer &buf)
bool CMraProto::CmdContactAck(int cmd, int seq, BinBuffer &buf)
{
- CMStringA szString; buf >> szString;
-
DWORD dwAckType; HANDLE hContact; LPBYTE pData; size_t dataLen;
if ( !MraSendQueueFind(hSendQueueHandle, seq, NULL, &hContact, &dwAckType, &pData, &dataLen)) {
DWORD dwTemp; buf >> dwTemp;
@@ -1005,7 +1003,7 @@ bool CMraProto::CmdAnketaInfo(int seq, BinBuffer &buf)
}
else if (fld == "Domain") { // имя было уже задано ранее
buf >> val;
- wcsncpy_s(szEmail, _A2T(mralpsUsernameValue + "@" + val), SIZEOF(szEmail));
+ wcsncpy_s(szEmail, _A2T(val + "@" + mralpsUsernameValue), SIZEOF(szEmail));
}
else if (fld == "Nickname") {
buf >> valW;