M getdns.nimble => getdns.nimble +1 -1
@@ 1,6 1,6 @@
# Package
-version = "20230607"
+version = "20230806"
author = "Emery Hemingway"
description = "Wrapper over the getdns C library"
license = "BSD-3-Clause"
M src/getdns.nim => src/getdns.nim +2 -2
@@ 642,7 642,7 @@ proc service_sync*(context: Context; name: cstring;
extensions: Dict; response: ptr Dict): getdns_return_t {.getdnsProc.}
proc convert_dns_name_to_fqdn*(dns_name_wire_fmt: Bindata;
- fqdn_as_string: ptr ptr char): getdns_return_t {.getdnsProc.}
+ fqdn_as_string: ptr cstring): getdns_return_t {.getdnsProc.}
proc convert_fqdn_to_dns_name*(fqdn_as_string: cstring;
dns_name_wire_fmt: ptr Bindata): getdns_return_t {.getdnsProc.}
@@ 730,7 730,7 @@ proc context_set_extended_memory_functions*(context: Context;
proc context_get_api_information*(context: Context): Dict {.getdnsProc.}
proc toFqdn*(bindata: Bindata): string =
- var dingle: ptr char
+ var dingle: cstring
assertReturn convert_dns_name_to_fqdn(bindata, addr dingle)
result = $dingle
c_free(dingle)