1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-09 13:46:40 +00:00

Replace is*() macros with our own IS*() ones.

Get rid of non ANSI/ISO isascii().
This commit is contained in:
Yang Tse
2006-10-18 03:42:06 +00:00
parent 2a7b004e49
commit dd3b42e1ac
5 changed files with 38 additions and 39 deletions

4
adig.c
View File

@ -225,7 +225,7 @@ int main(int argc, char **argv)
case 'T':
/* Set the TCP port number. */
if (!isdigit((unsigned char)*optarg))
if (!ISDIGIT(*optarg))
usage();
options.tcp_port = (unsigned short)strtol(optarg, NULL, 0);
optmask |= ARES_OPT_TCP_PORT;
@ -233,7 +233,7 @@ int main(int argc, char **argv)
case 'U':
/* Set the UDP port number. */
if (!isdigit((unsigned char)*optarg))
if (!ISDIGIT(*optarg))
usage();
options.udp_port = (unsigned short)strtol(optarg, NULL, 0);
optmask |= ARES_OPT_UDP_PORT;