mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
fix indent.
This commit is contained in:
parent
bc725eafc7
commit
3c3c80e4c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157371
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user