summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-04-01 15:53:39 +0000
committerume <ume@FreeBSD.org>2006-04-01 15:53:39 +0000
commit5965562ffef852fa5b51c73adfd2fe5b75e16380 (patch)
tree9e18d7a6f2159d20231c68e3aec61f58190c5402 /lib
parent5479e5d69217e0a6876338fc7cde604067b679ca (diff)
downloadFreeBSD-src-5965562ffef852fa5b51c73adfd2fe5b75e16380.zip
FreeBSD-src-5965562ffef852fa5b51c73adfd2fe5b75e16380.tar.gz
fix indent.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getaddrinfo.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index cd85282..a2552a9 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -1835,15 +1835,15 @@ addr4sort(struct addrinfo *sentinel, res_state res)
}
while (needsort < naddrs) {
- for (j = needsort - 1; j >= 0; j--) {
- if (addrs[j].aval > addrs[j+1].aval) {
- addr = addrs[j];
- addrs[j] = addrs[j + 1];
- addrs[j + 1] = addr;
- } else
- break;
- }
- needsort++;
+ for (j = needsort - 1; j >= 0; j--) {
+ if (addrs[j].aval > addrs[j+1].aval) {
+ addr = addrs[j];
+ addrs[j] = addrs[j + 1];
+ addrs[j + 1] = addr;
+ } else
+ break;
+ }
+ needsort++;
}
ai = sentinel;
OpenPOWER on IntegriCloud