about summary refs log tree commit diff
path: root/arch/m68k/crt_arch.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2022-10-19 14:02:48 -0400
committerRich Felker <dalias@aerifal.cx>2022-10-19 14:02:48 -0400
commit63402be229facae2d0de9c5943a6ed25246fd021 (patch)
tree217f28e942d5ed28add09710cf07a9a4b440543e /arch/m68k/crt_arch.h
parent0a7b4323b0f2b944dbd47a813c0c6e6813e7fd67 (diff)
downloadmusl-63402be229facae2d0de9c5943a6ed25246fd021.tar.gz
musl-63402be229facae2d0de9c5943a6ed25246fd021.tar.xz
musl-63402be229facae2d0de9c5943a6ed25246fd021.zip
clean up dns_parse_callback
the only functional change here should be that MAXADDRS is only
checked for RRs that provide address results, so that a CNAME which
appears after an excessive number of address RRs does not get ignored.
I'm not aware of any servers that order the RRs this way, and it may
even be forbidden to do so, but I prefer having the callback logic not
be order dependent.

other than that, the motivation for this change is that the A and AAAA
cases were mostly duplicate code that could be combined as a single
code path.
Diffstat (limited to 'arch/m68k/crt_arch.h')
0 files changed, 0 insertions, 0 deletions