summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}