diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2006-04-01 15:53:39 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2006-04-01 15:53:39 +0000 |
commit | 3c3c80e4c8f3ee23a659b3e7a4e5fe25eedaac7a (patch) | |
tree | 9e18d7a6f2159d20231c68e3aec61f58190c5402 /lib/libc/net/getaddrinfo.c | |
parent | bc725eafc7f7d0cb3d3746b71b3cad9b2bc9d499 (diff) | |
download | src-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.c | 18 |
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; |