musl/include
Rich Felker fcc522c923 de-duplicate dn_expand, fix return value and signature, clean up
the duplicate code in dn_expand and its incorrect return values are
both results of the history of the code: the version in __dns.c was
originally written with no awareness of the legacy resolver API, and
was later copy-and-paste duplicated to provide the legacy API.

this commit is the first of a series that will restructure the
internal dns code to share as much code as possible with the legacy
resolver API functions.

I have also removed the loop detection logic, since the output buffer
length limit naturally prevents loops. in order to avoid long runtime
when encountering a loop if the caller provided a ridiculously long
buffer, the caller-provided length is clamped at the maximum dns name
length.
2013-08-14 17:58:20 -04:00
..
2013-07-03 18:07:50 +02:00
2013-08-14 02:48:11 -04:00
2013-06-29 12:46:46 -04:00
2012-09-08 18:16:33 -04:00
2013-08-03 03:20:56 -04:00
2013-05-17 18:38:42 -04:00
2012-09-30 20:00:38 -04:00
2013-04-10 22:38:46 -04:00
2013-07-03 18:07:50 +02:00
2012-12-26 16:55:49 -05:00
2013-08-10 21:15:11 -04:00
2013-07-22 13:05:41 -04:00
2013-08-03 02:18:19 -04:00
2013-01-04 20:36:34 +01:00