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 committed Sep 14, 2023
1 parent 33a340a commit 0843577
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/FreeRTOS_IGMP.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

if( ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof( uint8_t ) ) )
{
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
}

/* Override the default TTL value with this one. */
Expand All @@ -129,14 +129,14 @@
{
if( ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof( struct freertos_ip_mreq ) ) )
{
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
}

struct freertos_ip_mreq * pMReq = ( struct freertos_ip_mreq * ) pvOptionValue;

if( pdFALSE == xIsIPv4Multicast( pMReq->imr_multiaddr.sin_address.ulIP_IPv4 ) )
{
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
}

/* Allocate some RAM to remember the multicast group that is being registered */
Expand Down Expand Up @@ -198,14 +198,14 @@
{
if( ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof( struct freertos_ip_mreq ) ) )
{
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
}

struct freertos_ip_mreq * pMReq = ( struct freertos_ip_mreq * ) pvOptionValue;

if( pdFALSE == xIsIPv4Multicast( pMReq->imr_multiaddr.sin_address.ulIP_IPv4 ) )
{
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
break; /* will return -pdFREERTOS_ERRNO_EINVAL */
}

/* Allocate some RAM to remember the multicast group that is being registered */
Expand Down

0 comments on commit 0843577

Please sign in to comment.