Skip to content

Commit ebe45a3

Browse files
spelling
1 parent bfbf4c8 commit ebe45a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libudpard/udpard.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ typedef unsigned char byte_t; ///< For compatibility with platforms where byte s
5353
/// The number of most recent transfers to keep in the history for duplicate rejection.
5454
/// Should be a power of two to allow replacement of modulo operation with a bitwise AND.
5555
///
56-
/// Implementation node: we used to store bitmap windows instead of a full list of recent transfer-IDs, but they
56+
/// Implementation note: we used to store bitmap windows instead of a full list of recent transfer-IDs, but they
5757
/// were found to offer no advantage except in the perfect scenario of non-restarting senders, and an increased
5858
/// implementation complexity (more branches, more lines of code), so they were replaced with a simple list.
5959
/// The list works equally well given a non-contiguous transfer-ID stream, unlike the bitmap, thus more robust.
@@ -1584,7 +1584,7 @@ static void rx_session_eject(rx_session_t* const self, udpard_rx_t* const rx, rx
15841584
rx_slot_destroy(slot_ref, self->port->memory.fragment, self->port->memory.slot);
15851585
}
15861586

1587-
/// Finds an existing in-progress slot with the specified transfer-ID, or allocates a new one. Returns NULL of OOM.
1587+
/// Finds an existing in-progress slot with the specified transfer-ID, or allocates a new one. Returns NULL on OOM.
15881588
/// We return a pointer to pointer to allow the caller to NULL out the slot on destruction.
15891589
static rx_slot_t** rx_session_get_slot(rx_session_t* const self, const udpard_us_t ts, const uint64_t transfer_id)
15901590
{

0 commit comments

Comments
 (0)