second attempt to lower case

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

View File

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