From 41c53e1d11ed6685dfa929bd8bef524ed17b4064 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 27 Nov 2000 19:45:45 +0000 Subject: [PATCH] added comment --- lib/dns/name.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/dns/name.c b/lib/dns/name.c index e36229b53e..6eccfa84a2 100644 --- a/lib/dns/name.c +++ b/lib/dns/name.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: name.c,v 1.107 2000/11/14 23:48:02 tale Exp $ */ +/* $Id: name.c,v 1.108 2000/11/27 19:45:45 gson Exp $ */ #include @@ -2664,6 +2664,12 @@ dns_name_split(dns_name_t *name, SETUP_OFFSETS(name, offsets, name_odata); splitlabel = name->labels - suffixlabels; + + /* + * Make p point at the count byte of the bitstring label, + * if there is one (p will not be used if we are not + * splitting bits). + */ p = &name->ndata[offsets[splitlabel] + 1]; /*