mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
fix indent.
This commit is contained in:
parent
bc725eafc7
commit
3c3c80e4c8
1 changed files with 9 additions and 9 deletions
|
|
@ -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 a new issue