aboutsummaryrefslogtreecommitdiff
path: root/tests/server/tftpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server/tftpd.c')
-rw-r--r--tests/server/tftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index c234dbf19..7120c152b 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -668,7 +668,7 @@ static int validate_access(struct testcase *test,
ptr++; /* skip the slash */
/* skip all non-numericals following the slash */
- while(*ptr && !isdigit((int)*ptr))
+ while(*ptr && !ISDIGIT(*ptr))
ptr++;
/* get the number */