Skip to content

Commit

Permalink
Fix #1141, PipeName unset with debug event
Browse files Browse the repository at this point in the history
Get the pipe name all the time, not just for failure events.
  • Loading branch information
jphickey committed Jan 29, 2021
1 parent 4374482 commit 92c2337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/src/sb/cfe_sb_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1082,11 +1082,11 @@ int32 CFE_SB_SubscribeFull(CFE_SB_MsgId_t MsgId,

CFE_SB_UnlockSharedData(__func__,__LINE__);

CFE_SB_GetPipeName(PipeName, sizeof(PipeName), PipeId);

/* Send events now */
if (PendingEventID != 0)
{
CFE_SB_GetPipeName(PipeName, sizeof(PipeName), PipeId);

switch(PendingEventID)
{
case CFE_SB_DUP_SUBSCRIP_EID:
Expand Down

0 comments on commit 92c2337

Please sign in to comment.