aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_search.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-18 03:42:06 +0000
committerYang Tse <yangsita@gmail.com>2006-10-18 03:42:06 +0000
commit9c1ad0f9f7fef9e178f2a7b417db0131bb86097b (patch)
tree280275f1eb22cefec098a78378d5bea61bbebb7a /ares/ares_search.c
parent71c6335293e4945262ab25b867d59be17ce12819 (diff)
Replace is*() macros with our own IS*() ones.
Get rid of non ANSI/ISO isascii().
Diffstat (limited to 'ares/ares_search.c')
-rw-r--r--ares/ares_search.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ares/ares_search.c b/ares/ares_search.c
index 099a7c752..b05b4a833 100644
--- a/ares/ares_search.c
+++ b/ares/ares_search.c
@@ -239,15 +239,15 @@ static int single_domain(ares_channel channel, const char *name, char **s)
== ARES_SUCCESS)
{
if (strncasecmp(line, name, len) != 0 ||
- !isspace((unsigned char)line[len]))
+ !ISSPACE(line[len]))
continue;
p = line + len;
- while (isspace((unsigned char)*p))
+ while (ISSPACE(*p))
p++;
if (*p)
{
q = p + 1;
- while (*q && !isspace((unsigned char)*q))
+ while (*q && !ISSPACE(*q))
q++;
*s = malloc(q - p + 1);
if (*s)