Skip to content

Commit fdda49a

Browse files
actions-usertony-josi-aws
authored andcommitted
Uncrustify: triggered by comment
1 parent 7d17533 commit fdda49a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

source/FreeRTOS_Sockets.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4389,7 +4389,6 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )
43894389

43904390
if( ( pxBuffer == NULL ) && ( pxSocket->u.xTCP.bits.bMallocError != pdTRUE ) )
43914391
{
4392-
43934392
/* Create the outgoing stream only when it is needed */
43944393
( void ) prvTCPCreateStream( pxSocket, pdFALSE );
43954394
pxBuffer = pxSocket->u.xTCP.txStream;

test/unit-test/FreeRTOS_Sockets/FreeRTOS_Sockets_TCP_API_utest.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,6 @@ void test_FreeRTOS_get_tx_head_InvalidParams( void )
794794
/* NULL socket. */
795795
pucReturn = FreeRTOS_get_tx_head( NULL, &xLength );
796796
TEST_ASSERT_EQUAL( NULL, pucReturn );
797-
798797
}
799798

800799
/**
@@ -813,7 +812,7 @@ void test_FreeRTOS_get_tx_head_NoStream( void )
813812

814813
/* NULL stream. */
815814
xSocket.ucProtocol = FREERTOS_IPPROTO_TCP;
816-
pvPortMalloc_ExpectAnyArgsAndReturn(ucStream);
815+
pvPortMalloc_ExpectAnyArgsAndReturn( ucStream );
817816
uxStreamBufferGetSpace_ExpectAndReturn( ( StreamBuffer_t * ) ucStream, uxRemainingSize );
818817
pucReturn = FreeRTOS_get_tx_head( &xSocket, &xLength );
819818
TEST_ASSERT_EQUAL_PTR( &( ( ( StreamBuffer_t * ) ucStream )->ucArray[ 0 ] ), pucReturn );

0 commit comments

Comments
 (0)