From 925d7ed2394b23ce4d5a85a3fbfb966884bdb32f Mon Sep 17 00:00:00 2001 From: jdfiguer Date: Wed, 31 Jul 2024 18:32:26 -0400 Subject: [PATCH] Fix #440, Replaces inaccurate CF_CFDP_ReceiveMessage comment --- fsw/src/cf_cfdp_sbintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fsw/src/cf_cfdp_sbintf.c b/fsw/src/cf_cfdp_sbintf.c index 6273e037..ff5a0dd0 100644 --- a/fsw/src/cf_cfdp_sbintf.c +++ b/fsw/src/cf_cfdp_sbintf.c @@ -247,8 +247,7 @@ void CF_CFDP_ReceiveMessage(CF_Channel_t *chan) ph->int_header.fin.cc, ph->pdu_header.destination_eid, ph->pdu_header.sequence_num) != CF_SEND_PDU_NO_BUF_AVAIL_ERROR) { - /* couldn't get output buffer -- don't care about a send error (oh well, can't send) but we - * do care that there was no message because chan->cur will be set to this transaction */ + /* CF_CFDP_SendAck does not return CF_SEND_PDU_ERROR */ chan->cur = NULL; /* do not remember temp transaction for next time */ }