diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/util/os_network.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/util/os_network.c')
-rw-r--r-- | src/util/os_network.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/os_network.c b/src/util/os_network.c index e310455e0..9ee26f0a9 100644 --- a/src/util/os_network.c +++ b/src/util/os_network.c | |||
@@ -381,6 +381,8 @@ try_ip (GNUNET_OS_NetworkInterfaceProcessor proc, | |||
381 | pclose (f); | 381 | pclose (f); |
382 | return GNUNET_OK; | 382 | return GNUNET_OK; |
383 | } | 383 | } |
384 | |||
385 | |||
384 | #endif | 386 | #endif |
385 | 387 | ||
386 | 388 | ||
@@ -403,7 +405,7 @@ GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor proc, | |||
403 | { | 405 | { |
404 | for (ifa_ptr = ifa_first; ifa_ptr != NULL; ifa_ptr = ifa_ptr->ifa_next) | 406 | for (ifa_ptr = ifa_first; ifa_ptr != NULL; ifa_ptr = ifa_ptr->ifa_next) |
405 | { | 407 | { |
406 | if ((ifa_ptr->ifa_name != NULL) &&(ifa_ptr->ifa_addr != NULL) && | 408 | if ((ifa_ptr->ifa_name != NULL) && (ifa_ptr->ifa_addr != NULL) && |
407 | ( (ifa_ptr->ifa_flags & IFF_UP) != 0) ) | 409 | ( (ifa_ptr->ifa_flags & IFF_UP) != 0) ) |
408 | { | 410 | { |
409 | if ((ifa_ptr->ifa_addr->sa_family != AF_INET) && | 411 | if ((ifa_ptr->ifa_addr->sa_family != AF_INET) && |