]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
clear up "alloced"
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 01:33:41 +0000 (18:33 -0700)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 01:33:41 +0000 (18:33 -0700)
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.

ldns/dnssec.h
ldns/dnssec_zone.h

index 9881fda72355045caee5010d69cba7e8e799376d..6ce305aeb7544dd421c22cdf014124b3cbdd9b79 100644 (file)
@@ -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);
 
index 119668cc343c8eeb0ae64447f5ee026ed0c89fae..156e39102327850ab4ac336eb876573cb5689f8a 100644 (file)
@@ -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;