aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sws.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server/sws.c')
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 7f9091f4a..fa0561b43 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -242,7 +242,7 @@ int ProcessRequest(struct httprequest *req)
ptr++; /* skip the slash */
/* skip all non-numericals following the slash */
- while(*ptr && !isdigit((int)*ptr))
+ while(*ptr && !ISDIGIT(*ptr))
ptr++;
req->testno = strtol(ptr, &ptr, 10);