Skip to content

Commit

Permalink
Fix #465, Update assert to check the correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Nov 28, 2024
1 parent ba12bc1 commit 1bb9345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/src/cf_cfdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ void CF_CFDP_ProcessPlaybackDirectory(CF_Channel_t *chan, CF_Playback_t *pb)
}

txn = CF_FindUnusedTransaction(chan);
CF_Assert(pt); /* should be impossible not to have one because there are limits on the number of uses of
CF_Assert(txn); /* should be impossible not to have one because there are limits on the number of uses of
them */

/* the -1 below is to make room for the slash */
Expand Down Expand Up @@ -1902,4 +1902,4 @@ void CF_CFDP_MoveFile(const char *src, const char *dest_dir)
{
OS_remove(src);
}
}
}

0 comments on commit 1bb9345

Please sign in to comment.