fix indent.
This commit is contained in:
parent
bc725eafc7
commit
3c3c80e4c8
@ -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…
x
Reference in New Issue
Block a user