From: Daniel Kahn Gillmor Date: Thu, 14 Apr 2022 01:33:41 +0000 (-0700) Subject: clear up "alloced" X-Git-Tag: 1.8.2-rc.1~15^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=298a46a10e5182a1b8c81a4337c314bfa7b5a740;p=thirdparty%2Fldns.git clear up "alloced" When referring to a literal alloc() function call, use "alloc'ed". When referring to a struct member "name_alloced", refer to it by full name. --- diff --git a/ldns/dnssec.h b/ldns/dnssec.h index 9881fda7..6ce305ae 100644 --- a/ldns/dnssec.h +++ b/ldns/dnssec.h @@ -355,7 +355,7 @@ uint8_t ldns_nsec3_salt_length(const ldns_rr *nsec3_rr); /** * Returns the salt bytes used in the given NSEC3 RR * \param[in] *nsec3_rr The RR to read from - * \return The salt in bytes, this is alloced, so you need to free it + * \return The salt in bytes, this is alloc'ed, so you need to free it */ uint8_t *ldns_nsec3_salt_data(const ldns_rr *nsec3_rr); diff --git a/ldns/dnssec_zone.h b/ldns/dnssec_zone.h index 119668cc..156e3910 100644 --- a/ldns/dnssec_zone.h +++ b/ldns/dnssec_zone.h @@ -53,7 +53,7 @@ struct ldns_struct_dnssec_name * Usually, the name is a pointer to the owner name of the first rr for * this name, but sometimes there is no actual data to point to, * for instance in - * names representing empty nonterminals. If so, set alloced to true to + * names representing empty nonterminals. If so, set name_alloced to true to * indicate that this data must also be freed when the name is freed */ bool name_alloced;