Skip to content

Commit 6354299

Browse files
committed
Fix formatting
1 parent a1b95e5 commit 6354299

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/FreeRTOS_DNS_Parser.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -738,10 +738,10 @@
738738
ipSIZE_OF_IPv6_ADDRESS );
739739

740740
#if ( ( ipconfigUSE_DNS_CACHE != 0 ) || ( ipconfigDNS_USE_CALLBACKS != 0 ) || ( ipconfigUSE_MDNS != 0 ) || ( ipconfigUSE_LLMNR != 0 ) )
741-
if( ppxAddressInfo != NULL )
742-
{
743-
pxNewAddress = pxNew_AddrInfo( pxSet->pcName, FREERTOS_AF_INET6, xIP_Address.xIPAddress.xIP_IPv6.ucBytes );
744-
}
741+
if( ppxAddressInfo != NULL )
742+
{
743+
pxNewAddress = pxNew_AddrInfo( pxSet->pcName, FREERTOS_AF_INET6, xIP_Address.xIPAddress.xIP_IPv6.ucBytes );
744+
}
745745
#endif
746746

747747
xIP_Address.xIs_IPv6 = pdTRUE;
@@ -768,12 +768,12 @@
768768
( void ) memcpy( pvCopyDest, pvCopySource, pxSet->uxAddressLength );
769769

770770
#if ( ( ipconfigUSE_DNS_CACHE != 0 ) || ( ipconfigDNS_USE_CALLBACKS != 0 ) || ( ipconfigUSE_MDNS != 0 ) || ( ipconfigUSE_LLMNR != 0 ) )
771-
if( ppxAddressInfo != NULL )
772-
{
773-
const uint8_t * ucBytes = ( uint8_t * ) &( pxSet->ulIPAddress );
771+
if( ppxAddressInfo != NULL )
772+
{
773+
const uint8_t * ucBytes = ( uint8_t * ) &( pxSet->ulIPAddress );
774774

775-
pxNewAddress = pxNew_AddrInfo( pxSet->pcName, FREERTOS_AF_INET4, ucBytes );
776-
}
775+
pxNewAddress = pxNew_AddrInfo( pxSet->pcName, FREERTOS_AF_INET4, ucBytes );
776+
}
777777
#endif
778778

779779
xIP_Address.xIPAddress.ulIP_IPv4 = pxSet->ulIPAddress;

0 commit comments

Comments
 (0)