]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix small mistake and attribute Pierre
authorWillem Toorop <willem@nlnetlabs.nl>
Fri, 12 Jul 2024 12:42:50 +0000 (14:42 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Fri, 12 Jul 2024 12:42:50 +0000 (14:42 +0200)
Changelog
str2host.c

index 509644f1d9fbadab2d0c859f3a479f9da75da279..8cb39ddfde94b264bbb14f805a6dba813fb2cfbc 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -25,6 +25,8 @@
          Thanks Ørjan Malde
        * PR #216 Update declaration for function with no argument
          Thanks Ed Maste
+       * PR #214 fix the build in FreeBSD's base system
+         Thanks Pierre Pronchery and Dag-Erling Smørgrav
 
 1.8.3  2022-08-15
        * bugfix #183: Assertion failure with OPT record without rdata.
index 4617aa3c7a05313698870f8e9c43e1129c028249..5b78e5bc5907a4ab49c74ec3dffcb3d19b4dae63 100644 (file)
@@ -2198,7 +2198,7 @@ static const size_t svcparam_key_defs_len = sizeof(svcparam_key_defs)
 /* svcparam_key2buffer_str() should actually be in host2str.c, but we need the
  * svcparam_key_defs for it and it is not an exposed symbol anyway.
  */
-static ldns_status svcparam_key2buffer_str(ldns_buffer *output, uint16_t key)
+ldns_status svcparam_key2buffer_str(ldns_buffer *output, uint16_t key)
 {
        if (key <= LDNS_SVCPARAM_KEY_LAST_KEY)
                ldns_buffer_write_string(output, svcparam_key_defs[key].str);