aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net/getaddrinfo.c
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-04-01 15:53:39 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-04-01 15:53:39 +0000
commit3c3c80e4c8f3ee23a659b3e7a4e5fe25eedaac7a (patch)
tree9e18d7a6f2159d20231c68e3aec61f58190c5402 /lib/libc/net/getaddrinfo.c
parentbc725eafc7f7d0cb3d3746b71b3cad9b2bc9d499 (diff)
downloadsrc-3c3c80e4c8f3ee23a659b3e7a4e5fe25eedaac7a.tar.gz
src-3c3c80e4c8f3ee23a659b3e7a4e5fe25eedaac7a.zip
fix indent.
Notes
Notes: svn path=/head/; revision=157371
Diffstat (limited to 'lib/libc/net/getaddrinfo.c')
-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 cd85282c43f4..a2552a9ec819 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;