Loading tests/server/getpart.c +3 −2 Original line number Diff line number Diff line Loading @@ -37,8 +37,9 @@ /* include memdebug.h last */ #include "memdebug.h" #define EAT_SPACE(ptr) while( ptr && *ptr && isspace((int)*ptr) ) ptr++ #define EAT_WORD(ptr) while( ptr && *ptr && !isspace((int)*ptr) && ('>' != *ptr)) ptr++ #define EAT_SPACE(ptr) while( ptr && *ptr && ISSPACE(*ptr) ) ptr++ #define EAT_WORD(ptr) while( ptr && *ptr && !ISSPACE(*ptr) && \ ('>' != *ptr)) ptr++ #ifdef DEBUG #define show(x) printf x Loading tests/server/sockfilt.c +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ static void lograw(unsigned char *buffer, ssize_t len) optr += 2; break; default: sprintf(optr, "%c", (isgraph(ptr[i]) || ptr[i]==0x20) ?ptr[i]:'.'); sprintf(optr, "%c", (ISGRAPH(ptr[i]) || ptr[i]==0x20) ?ptr[i]:'.'); width++; optr++; break; Loading tests/server/sws.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading tests/server/tftpd.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading
tests/server/getpart.c +3 −2 Original line number Diff line number Diff line Loading @@ -37,8 +37,9 @@ /* include memdebug.h last */ #include "memdebug.h" #define EAT_SPACE(ptr) while( ptr && *ptr && isspace((int)*ptr) ) ptr++ #define EAT_WORD(ptr) while( ptr && *ptr && !isspace((int)*ptr) && ('>' != *ptr)) ptr++ #define EAT_SPACE(ptr) while( ptr && *ptr && ISSPACE(*ptr) ) ptr++ #define EAT_WORD(ptr) while( ptr && *ptr && !ISSPACE(*ptr) && \ ('>' != *ptr)) ptr++ #ifdef DEBUG #define show(x) printf x Loading
tests/server/sockfilt.c +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ static void lograw(unsigned char *buffer, ssize_t len) optr += 2; break; default: sprintf(optr, "%c", (isgraph(ptr[i]) || ptr[i]==0x20) ?ptr[i]:'.'); sprintf(optr, "%c", (ISGRAPH(ptr[i]) || ptr[i]==0x20) ?ptr[i]:'.'); width++; optr++; break; Loading
tests/server/sws.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
tests/server/tftpd.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 */ Loading