Anonymous
public text v1 · immutableconst unsigned char *px, unsigned length) {
char method[16];
...
x=0;
while (i<length && !isspace(px[i])) {
if (x < sizeof(method) -1) {
method[x++] = (char)toupper(px[i++]);
method[x] = '\0';
}
}