Update cluster_legacy.c
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Signed-off-by: Harkrishn Patro <bunty.hari@gmail.com> Signed-off-by: Harkrishn Patro <harkrisp@amazon.com>
This commit is contained in:
parent
4d8b04005e
commit
1583bef2bf
@ -4397,8 +4397,7 @@ static clusterMsgSendBlock *createModuleMsgBlock(int64_t module_id, uint8_t type
|
||||
*
|
||||
* If link is NULL, then the message is broadcasted to the whole cluster. */
|
||||
void clusterSendModule(clusterLink *link, uint64_t module_id, uint8_t type, const char *payload, uint32_t len) {
|
||||
clusterMsgSendBlock *msgblock[CLUSTERMSG_HDR_NUM];
|
||||
memset(msgblock, 0, sizeof(msgblock));
|
||||
clusterMsgSendBlock *msgblock[CLUSTERMSG_HDR_NUM] = {0};
|
||||
ClusterNodeIterator iter;
|
||||
|
||||
if (link) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user