diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-28 17:38:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-28 17:38:49 +0000 |
commit | 5e9e63c45e37917ffb0acd83832d0d8f99d01883 (patch) | |
tree | 1b674b85b1f582a13bd2a57ec73377b8989141bc /protocols/MSN/src/msn_misc.cpp | |
parent | 7105dcf75bdd939ca52ba045bc29c536c3f7ba49 (diff) |
new macroses for MS_PROTO_CHAINRECV: ProtoChainRecv, ProtoChainRecvMsg & ProtoChainRecvFile
git-svn-id: http://svn.miranda-ng.org/main/trunk@2540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_misc.cpp')
-rw-r--r-- | protocols/MSN/src/msn_misc.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp index 5599ce3b22..0695989eb9 100644 --- a/protocols/MSN/src/msn_misc.cpp +++ b/protocols/MSN/src/msn_misc.cpp @@ -96,17 +96,11 @@ void CMsnProto::MSN_AddAuthRequest(const char *email, const char *nick, const c if (reason == NULL) reason = "";
int reasonlen = (int)strlen(reason);
- CCSDATA ccs = { 0 };
PROTORECVEVENT pre = { 0 };
-
pre.flags = PREF_UTF;
pre.timestamp = (DWORD)time(NULL);
pre.lParam = sizeof(DWORD) + sizeof(HANDLE) + nicklen + emaillen + 5 + reasonlen;
- ccs.szProtoService = PSR_AUTH;
- ccs.hContact = hContact;
- ccs.lParam = (LPARAM)⪯
-
char* pCurBlob = (char*)alloca(pre.lParam);
pre.szMessage = pCurBlob;
@@ -118,7 +112,7 @@ void CMsnProto::MSN_AddAuthRequest(const char *email, const char *nick, const c strcpy(pCurBlob, email); pCurBlob += emaillen + 1; // E-mail
strcpy(pCurBlob, reason); // Reason
- CallService(MS_PROTO_CHAINRECV, 0, (LPARAM)&ccs);
+ ProtoChainRecv(hContact, PSR_AUTH, 0, (LPARAM)&pre);
}
/////////////////////////////////////////////////////////////////////////////////////////
|