summaryrefslogtreecommitdiff
path: root/ares_gethostbyname.c
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-09-29 21:57:05 (GMT)
committerSteinar H. Gunderson <sesse@google.com>2007-09-29 21:57:05 (GMT)
commit60519063eaa56914e1bf20eb8510030897f940c9 (patch)
tree725f70aaef840610e48971b8ca1b3ff69e7d6dc9 /ares_gethostbyname.c
parentff7137ad74295d4110a47a1b2e9877760ffe6495 (diff)
downloadc-ares-60519063eaa56914e1bf20eb8510030897f940c9.zip
c-ares-60519063eaa56914e1bf20eb8510030897f940c9.tar.gz
c-ares-60519063eaa56914e1bf20eb8510030897f940c9.tar.bz2
Use ISDIGIT instead of isdigit; fixes a gcc warning.
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r--ares_gethostbyname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c
index 7a4aad6..336481d 100644
--- a/ares_gethostbyname.c
+++ b/ares_gethostbyname.c
@@ -215,7 +215,7 @@ static int fake_hostent(const char *name, int family, ares_host_callback callbac
const char *p;
for (p = name; *p; p++)
{
- if (!isdigit(*p) && *p != '.') {
+ if (!ISDIGIT(*p) && *p != '.') {
return 0;
} else if (*p == '.') {
numdots++;