radical re-formatting 2/3: Fix blocks
Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
This commit is contained in:
parent
2104dc362c
commit
3251e91187
14 changed files with 95 additions and 154 deletions
|
@ -27,9 +27,9 @@ ip(const char *interface, unsigned short sa_family)
|
|||
}
|
||||
|
||||
for (ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) {
|
||||
if (!ifa->ifa_addr) {
|
||||
if (!ifa->ifa_addr)
|
||||
continue;
|
||||
}
|
||||
|
||||
s = getnameinfo(ifa->ifa_addr, sizeof(struct sockaddr_in6),
|
||||
host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST);
|
||||
if (!strcmp(ifa->ifa_name, interface) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue