Skip to content
Snippets Groups Projects
Commit b749910e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

include ctype.h for isdigit()

parent eff36cae
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <ctype.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
......@@ -228,7 +229,7 @@ int ProcessRequest(struct httprequest *req)
ptr++; /* skip the slash */
/* skip all non-numericals following the slash */
while(*ptr && !isdigit(*ptr))
while(*ptr && !isdigit((int)*ptr))
ptr++;
req->testno = strtol(ptr, &ptr, 10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment