aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-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 7dafd78a8..d4a4b53c5 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -620,7 +620,7 @@ again:
fprintf(server, "filename: %s\n", filename);
for (cp = mode; *cp; cp++)
- if (isupper((int)*cp))
+ if(ISUPPER(*cp))
*cp = (char)tolower((int)*cp);
/* store input protocol */