From: Sven M. Hallberg Date: Fri, 5 Sep 2014 18:34:46 +0000 (+0200) Subject: coding style consistency X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=bd3239afa89e2321ad7da1dc56ba8a82e11d7c94;p=catta coding style consistency --- diff --git a/src/iface-windows.c b/src/iface-windows.c index 9c8eb01..833112f 100644 --- a/src/iface-windows.c +++ b/src/iface-windows.c @@ -109,8 +109,8 @@ static void ip_adapter_address(CattaInterfaceMonitor *m, IP_ADAPTER_ADDRESSES *p hw->mtu = p->Mtu; hw->mac_address_size = p->PhysicalAddressLength; - if (hw->mac_address_size > CATTA_MAC_ADDRESS_MAX) - hw->mac_address_size = CATTA_MAC_ADDRESS_MAX; + if(hw->mac_address_size > CATTA_MAC_ADDRESS_MAX) + hw->mac_address_size = CATTA_MAC_ADDRESS_MAX; memcpy(hw->mac_address, p->PhysicalAddress, hw->mac_address_size); // XXX process addresses