summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-02-19 15:46:56 +0000
committernectar <nectar@FreeBSD.org>2002-02-19 15:46:56 +0000
commit69a91bec14ec3ad49d1c8a82c40a796755f9e4a3 (patch)
tree85ecf91fd00875cec4b93111d3a8ed9eec9cddfe /crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
parent8db4cdb3da4228a5d93635e43825e2e8a2f66db7 (diff)
downloadFreeBSD-src-69a91bec14ec3ad49d1c8a82c40a796755f9e4a3.zip
FreeBSD-src-69a91bec14ec3ad49d1c8a82c40a796755f9e4a3.tar.gz
Import of Heimdal Kerberos from KTH repository circa 2002/02/17.
Diffstat (limited to 'crypto/heimdal/appl/ftp/ftpd/ftpcmd.y')
-rw-r--r--crypto/heimdal/appl/ftp/ftpd/ftpcmd.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/heimdal/appl/ftp/ftpd/ftpcmd.y b/crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
index 8a67a61..2c90987 100644
--- a/crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
+++ b/crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
@@ -43,7 +43,7 @@
%{
#include "ftpd_locl.h"
-RCSID("$Id: ftpcmd.y,v 1.60 2000/11/05 16:53:20 joda Exp $");
+RCSID("$Id: ftpcmd.y,v 1.61 2001/08/05 06:39:29 assar Exp $");
off_t restart_point;
@@ -1238,9 +1238,9 @@ yylex(void)
cpos++;
return (SP);
}
- if (isdigit(cbuf[cpos])) {
+ if (isdigit((unsigned char)cbuf[cpos])) {
cp = &cbuf[cpos];
- while (isdigit(cbuf[++cpos]))
+ while (isdigit((unsigned char)cbuf[++cpos]))
;
c = cbuf[cpos];
cbuf[cpos] = '\0';
@@ -1253,9 +1253,9 @@ yylex(void)
goto dostr1;
case ARGS:
- if (isdigit(cbuf[cpos])) {
+ if (isdigit((unsigned char)cbuf[cpos])) {
cp = &cbuf[cpos];
- while (isdigit(cbuf[++cpos]))
+ while (isdigit((unsigned char)cbuf[++cpos]))
;
c = cbuf[cpos];
cbuf[cpos] = '\0';
OpenPOWER on IntegriCloud