make names empty when construction fails instead of invalidating them

This commit is contained in:
Bob Halley
1999-08-12 20:26:45 +00:00
parent a7de941669
commit 70fdfcd1fa
2 changed files with 23 additions and 26 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ extern dns_name_t *dns_wildcardname;
void dns_name_init(dns_name_t *name, unsigned char *offsets);
/*
* Make 'name' empty.
* Initialize 'name'.
*
* Notes:
* 'offsets' is never required to be non-NULL, but specifying a