plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit df5d363ddd45a834d2b9d4df8e240760d054abf7
parent b5c7be2fd69c027f5de9772e117885cb1c89f907
Author: rsc <devnull@localhost>
Date:   Fri,  3 Mar 2006 17:28:46 +0000

tolower subscript

Diffstat:
Msrc/cmd/ndb/dblookup.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/ndb/dblookup.c b/src/cmd/ndb/dblookup.c @@ -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