diff options
author | Steinar H. Gunderson <sesse@google.com> | 2007-09-29 21:57:05 +0000 |
---|---|---|
committer | Steinar H. Gunderson <sesse@google.com> | 2007-09-29 21:57:05 +0000 |
commit | 60519063eaa56914e1bf20eb8510030897f940c9 (patch) | |
tree | 725f70aaef840610e48971b8ca1b3ff69e7d6dc9 /ares_gethostbyname.c | |
parent | ff7137ad74295d4110a47a1b2e9877760ffe6495 (diff) | |
download | c-ares-60519063eaa56914e1bf20eb8510030897f940c9.tar.gz c-ares-60519063eaa56914e1bf20eb8510030897f940c9.tar.bz2 c-ares-60519063eaa56914e1bf20eb8510030897f940c9.zip |
Use ISDIGIT instead of isdigit; fixes a gcc warning.
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r-- | ares_gethostbyname.c | 2 |
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++; |