tolower subscript

This commit is contained in:
rsc 2006-03-03 17:28:46 +00:00
parent b5c7be2fd6
commit df5d363ddd

View file

@ -111,7 +111,7 @@ dblookup(char *name, int class, int type, int auth, int ttl)
/* try lower case version */
for(cp = name; *cp; cp++)
*cp = tolower(*cp);
*cp = tolower((uchar)*cp);
if(cachedb)
rp = rrlookup(dp, type, NOneg);
else