1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

fix indent.

This commit is contained in:
Hajimu UMEMOTO 2006-04-01 15:53:39 +00:00
parent bc725eafc7
commit 3c3c80e4c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157371

View File

@ -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;