diff options
Diffstat (limited to 'extra/resolveip.c')
-rw-r--r-- | extra/resolveip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/resolveip.c b/extra/resolveip.c index 6d05152e20b..12e6977c2ba 100644 --- a/extra/resolveip.c +++ b/extra/resolveip.c @@ -46,7 +46,7 @@ static struct my_option my_long_options[] = { {"help", '?', "Displays this help and exits.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, - {"info", 'I', "Synonym for --help", + {"info", 'I', "Synonym for --help.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, {"silent", 's', "Be more silent.", (gptr*) &silent, (gptr*) &silent, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, @@ -123,7 +123,7 @@ int main(int argc, char **argv) { ip = *argv++; - if (isdigit(ip[0])) + if (my_isdigit(&my_charset_latin1,ip[0])) { taddr = inet_addr(ip); if (taddr == htonl(INADDR_BROADCAST)) |