From 3de3053dc1bdd7e28a600db376b3a488024a8d3a Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 30 Jun 1999 17:25:36 +0000 Subject: [PATCH] clarified comments: dns_name_init does not require a valid name, it produces one --- lib/dns/include/dns/name.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index 6bbc3a3e83..5f6522b732 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -213,11 +213,12 @@ void dns_name_init(dns_name_t *name, unsigned char *offsets); * name operations if the name is used more than once. * * Requires: - * 'name' is a valid name (i.e. not NULL, points to a struct dns_name) + * 'name' is not NULL and points to a struct dns_name. * * offsets == NULL or offsets is a dns_offsets_t. * * Ensures: + * 'name' is a valid name. * dns_name_countlabels(name) == 0 */