Skip to content

Commit

Permalink
Uncrustify: triggered by comment
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and tony-josi-aws committed Sep 11, 2023
1 parent 7d17533 commit fdda49a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion source/FreeRTOS_Sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -4389,7 +4389,6 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )

if( ( pxBuffer == NULL ) && ( pxSocket->u.xTCP.bits.bMallocError != pdTRUE ) )
{

/* Create the outgoing stream only when it is needed */
( void ) prvTCPCreateStream( pxSocket, pdFALSE );
pxBuffer = pxSocket->u.xTCP.txStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,6 @@ void test_FreeRTOS_get_tx_head_InvalidParams( void )
/* NULL socket. */
pucReturn = FreeRTOS_get_tx_head( NULL, &xLength );
TEST_ASSERT_EQUAL( NULL, pucReturn );

}

/**
Expand All @@ -813,7 +812,7 @@ void test_FreeRTOS_get_tx_head_NoStream( void )

/* NULL stream. */
xSocket.ucProtocol = FREERTOS_IPPROTO_TCP;
pvPortMalloc_ExpectAnyArgsAndReturn(ucStream);
pvPortMalloc_ExpectAnyArgsAndReturn( ucStream );
uxStreamBufferGetSpace_ExpectAndReturn( ( StreamBuffer_t * ) ucStream, uxRemainingSize );
pucReturn = FreeRTOS_get_tx_head( &xSocket, &xLength );
TEST_ASSERT_EQUAL_PTR( &( ( ( StreamBuffer_t * ) ucStream )->ucArray[ 0 ] ), pucReturn );
Expand Down

0 comments on commit fdda49a

Please sign in to comment.