From 84fcff79f4f254c24d06872e44203bedc2d97565 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 29 Sep 2007 21:57:05 +0000 Subject: Use ISDIGIT instead of isdigit; fixes a gcc warning. --- ares/ares_gethostbyname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares/ares_gethostbyname.c') diff --git a/ares/ares_gethostbyname.c b/ares/ares_gethostbyname.c index 7a4aad6e3..336481db5 100644 --- a/ares/ares_gethostbyname.c +++ b/ares/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++; -- cgit v1.2.3