lowercase tokens automatically

This commit is contained in:
Neale Pickett 2013-02-06 12:14:06 -07:00
parent 9b2c255194
commit e0c6db6c2f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ main(int argc, char *argv[])
/* Pull category name out of the token */
for (q = category; *p && (*p != ':'); p += 1) {
*(q++) = *p;
*(q++) = tolower(*p);
}
*q = '\0';
if (p) p += 1;