diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-27 17:27:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-27 17:27:32 +0000 |
commit | b7c28fdb246c00973120ab87edf754de925d3330 (patch) | |
tree | 2aa2349e3cd03041812ad2eaf6f70e59c4947cfc /protocols/MRA/MraProto.cpp | |
parent | 89c883cf565ac91bf21d1711f7c3972fb6281bf7 (diff) |
final variant of async acks in MRA
git-svn-id: http://svn.miranda-ng.org/main/trunk@1688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraProto.cpp')
-rw-r--r-- | protocols/MRA/MraProto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/MraProto.cpp b/protocols/MRA/MraProto.cpp index 4467ba9152..de47448f6a 100644 --- a/protocols/MRA/MraProto.cpp +++ b/protocols/MRA/MraProto.cpp @@ -707,7 +707,7 @@ HANDLE CMraProto::GetAwayMsg(HANDLE hContact) dwStatusDescSize = mir_sntprintf(szStatusDesc, SIZEOF(szStatusDesc), _T("%s%s"), szTime, szBlogStatus);
iRet = GetTickCount();
- ProtoBroadcastAckAsync(hContact, ACKTYPE_AWAYMSG, ACKRESULT_SUCCESS, (HANDLE)iRet, (LPARAM)szStatusDesc);
+ ProtoBroadcastAckAsync(hContact, ACKTYPE_AWAYMSG, ACKRESULT_SUCCESS, (HANDLE)iRet, (LPARAM)szStatusDesc, (dwStatusDescSize+1)*sizeof(TCHAR));
}
return (HANDLE)iRet;
}
|