URI: 
       ttolower subscript - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit df5d363ddd45a834d2b9d4df8e240760d054abf7
   DIR parent b5c7be2fd69c027f5de9772e117885cb1c89f907
  HTML Author: rsc <devnull@localhost>
       Date:   Fri,  3 Mar 2006 17:28:46 +0000
       
       ttolower subscript
       
       Diffstat:
         M src/cmd/ndb/dblookup.c              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/src/cmd/ndb/dblookup.c b/src/cmd/ndb/dblookup.c
       t@@ -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