]> git.meshlink.io Git - catta/commitdiff
coding style consistency
authorSven M. Hallberg <pesco@khjk.org>
Fri, 5 Sep 2014 18:34:46 +0000 (20:34 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Fri, 5 Sep 2014 18:34:46 +0000 (20:34 +0200)
src/iface-windows.c

index 9c8eb013ed93eb0760eda9d60d78861f9fa24eef..833112f4b49c8105f3c6f2fd5380a306275ce1b0 100644 (file)
@@ -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