pull/617/head
Brad House 1 year ago
parent 99f5340e3c
commit bc8aa90fb9
  1. 2
      src/lib/ares_sysconfig.c
  2. 2
      src/lib/ares_update_servers.c

@ -283,7 +283,7 @@ static ULONG getBestRouteMetric(IF_LUID * const luid, /* Can't be const :( */
* Locates DNS info using GetAdaptersAddresses() function from the Internet * Locates DNS info using GetAdaptersAddresses() function from the Internet
* Protocol Helper (IP Helper) API. When located, this returns a pointer * Protocol Helper (IP Helper) API. When located, this returns a pointer
* in *outptr to a newly allocated memory area holding a null-terminated * in *outptr to a newly allocated memory area holding a null-terminated
* string with a space or comma seperated list of DNS IP addresses. * string with a space or comma separated list of DNS IP addresses.
* *
* Returns 0 and nullifies *outptr upon inability to return DNSes string. * Returns 0 and nullifies *outptr upon inability to return DNSes string.
* *

@ -303,7 +303,7 @@ ares_status_t ares__sconfig_append_fromstr(ares__llist_t **sconfig,
ares_status_t status; ares_status_t status;
/* On Windows, there may be more than one nameserver specified in the same /* On Windows, there may be more than one nameserver specified in the same
* registry key, so we parse input as a space or comma seperated list. * registry key, so we parse input as a space or comma separated list.
*/ */
for (p = str; p;) { for (p = str; p;) {
unsigned short port; unsigned short port;

Loading…
Cancel
Save