diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-18 03:42:06 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-18 03:42:06 +0000 |
commit | dd3b42e1ac7536e6b5445292c298b89a7fb6c605 (patch) | |
tree | 4588498a79fc4485f9d59bdcd0f67caef5adfce6 /adig.c | |
parent | 2a7b004e49fb7c355dec0d299f9cd5c63c119ccd (diff) | |
download | c-ares-dd3b42e1ac7536e6b5445292c298b89a7fb6c605.tar.gz c-ares-dd3b42e1ac7536e6b5445292c298b89a7fb6c605.tar.bz2 c-ares-dd3b42e1ac7536e6b5445292c298b89a7fb6c605.zip |
Replace is*() macros with our own IS*() ones.
Get rid of non ANSI/ISO isascii().
Diffstat (limited to 'adig.c')
-rw-r--r-- | adig.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |