Skip to content

Commit

Permalink
Fix nasa#818, Return message address from CFE_SB_SendMsg stub
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Aug 24, 2020
1 parent a148b97 commit 1ea241b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fsw/cfe-core/ut-stubs/ut_sb_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,7 @@ int32 CFE_SB_SendMsg(CFE_SB_Msg_t *MsgPtr)

if (status >= 0)
{
UT_Stub_CopyFromLocal(UT_KEY(CFE_SB_SendMsg), MsgPtr->Byte,
CFE_SB_StubMsg_GetMetaData(MsgPtr)->TotalLength);
UT_Stub_CopyFromLocal(UT_KEY(CFE_SB_SendMsg), &MsgPtr, sizeof(MsgPtr));
}

return status;
Expand Down

0 comments on commit 1ea241b

Please sign in to comment.