summaryrefslogtreecommitdiff
path: root/include/m_protomod.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-16 20:32:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-16 20:32:29 +0000
commitf2769285e5e68ae941fbe1010337039ae8222005 (patch)
treef191063ef2348b88354b2a641f27f9804eff9d92 /include/m_protomod.h
parent0317b5627c7eff381a7d5595544ff52a83bdd454 (diff)
no need to clean structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@4991 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protomod.h')
-rw-r--r--include/m_protomod.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/m_protomod.h b/include/m_protomod.h
index 0bc0a073b4..5ba369f8d5 100644
--- a/include/m_protomod.h
+++ b/include/m_protomod.h
@@ -125,11 +125,7 @@ __forceinline INT_PTR ProtoChainRecvFile(HANDLE hContact, PROTORECVFILET *pre)
__forceinline INT_PTR ProtoBroadcastAck(const char *szModule, HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam)
{
- ACKDATA ack = {0};
- ack.cbSize = sizeof(ACKDATA);
- ack.szModule = szModule; ack.hContact = hContact;
- ack.type = type; ack.result = result;
- ack.hProcess = hProcess; ack.lParam = lParam;
+ ACKDATA ack = { sizeof(ACKDATA), szModule, hContact, type, result, hProcess, lParam };
return CallService(MS_PROTO_BROADCASTACK, 0, (LPARAM)&ack);
}