ares__isprint() should have been moved for last backport

v1.23
Brad House 6 months ago
parent 46817a0d99
commit 6fd3e5298a
  1. 8
      src/lib/ares__buf.c

@ -45,14 +45,6 @@ struct ares__buf {
* SIZE_MAX if not set. */ * SIZE_MAX if not set. */
}; };
ares_bool_t ares__isprint(int ch)
{
if (ch >= 0x20 && ch <= 0x7E) {
return ARES_TRUE;
}
return ARES_FALSE;
}
/* Character set allowed by hostnames. This is to include the normal /* Character set allowed by hostnames. This is to include the normal
* domain name character set plus: * domain name character set plus:
* - underscores which are used in SRV records. * - underscores which are used in SRV records.

Loading…
Cancel
Save