(statcmd): cast argument to isdigit to unsigned char

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-18 07:48:33 +00:00
parent bb46111aad
commit 542f17be74

View File

@@ -1625,7 +1625,7 @@ statcmd(void)
lreply(211, "%s FTP server (%s) status:", hostname, version);
printf(" %s\r\n", version);
printf(" Connected to %s", remotehost);
if (!isdigit(remotehost[0]))
if (!isdigit((unsigned char)remotehost[0]))
printf(" (%s)", inet_ntoa(his_addr.sin_addr));
printf("\r\n");
if (logged_in) {