Skip to content

Commit

Permalink
Merge pull request nasa#834 from skliper/fix818-sendmsg-stub-rtn
Browse files Browse the repository at this point in the history
Fix nasa#818, Return message address from CFE_SB_SendMsg stub
  • Loading branch information
yammajamma authored Aug 26, 2020
2 parents 06c0826 + 1ea241b commit 5f01981
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 5f01981

Please sign in to comment.