diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-24 11:14:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-24 11:14:26 +0000 |
commit | 76b283677bd66b4f41289bc211504834bb0f0513 (patch) | |
tree | cd23344d78bd5457f9f95176807fd1fa260df530 /protocols/AimOscar | |
parent | 55cfa8393ae222c2b48d7dfcf1d493021ff5bb47 (diff) |
PROTORECVEVENT::pCustomData field added to add user-defined into to incoming messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@6206 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar')
-rw-r--r-- | protocols/AimOscar/src/server.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp index 9359813aba..3988e342fa 100644 --- a/protocols/AimOscar/src/server.cpp +++ b/protocols/AimOscar/src/server.cpp @@ -1315,11 +1315,10 @@ void CAimProto::snac_received_message(SNAC &snac,HANDLE hServerConn,unsigned sho // Okay we are setting up the structure to give the message back to miranda's core
CallService(MS_PROTO_CONTACTISTYPING, (WPARAM)hMsgContact, 0);
{
- PROTORECVEVENT pre;
+ PROTORECVEVENT pre = { 0 };
pre.flags = PREF_UTF;
pre.timestamp = (is_offline) ? offline_timestamp : (DWORD)time(0);
pre.szMessage = msg_buf;
- pre.lParam = 0;
ProtoChainRecvMsg(hMsgContact, &pre);
}
|