Fixed a bug.

This commit is contained in:
Martin Preuss
2023-02-21 06:19:08 +01:00
parent 7dbd50eeba
commit f727d3bb2f

View File

@@ -232,6 +232,7 @@ void _distributeMsg(AQH_MSG_ENDPOINT_MGR *emgr, AQH_MSG_ENDPOINT *srcEp, const A
ep=AQH_MsgEndpoint_List_First(emgr->endpointList); ep=AQH_MsgEndpoint_List_First(emgr->endpointList);
while(ep) { while(ep) {
if (ep!=srcEp) {
uint32_t acceptedGroupIds; uint32_t acceptedGroupIds;
uint32_t acceptedMsgGroups; uint32_t acceptedMsgGroups;
@@ -246,6 +247,7 @@ void _distributeMsg(AQH_MSG_ENDPOINT_MGR *emgr, AQH_MSG_ENDPOINT *srcEp, const A
/* endpoint accepts this message */ /* endpoint accepts this message */
AQH_MsgEndpoint_AddSendMessage(ep, AQH_Msg_dup(msg)); AQH_MsgEndpoint_AddSendMessage(ep, AQH_Msg_dup(msg));
} }
}
ep=AQH_MsgEndpoint_List_Next(ep); ep=AQH_MsgEndpoint_List_Next(ep);
} }
} }