]> jfr.im git - solanum.git/blobdiff - ircd/hash.c
Convert 2.8 style ToUpper/ToLower names to irctoupper/irctolower
[solanum.git] / ircd / hash.c
index c0d48c59f6420904b1a957a386ff026558e8f694..894fe3251d7c83f005f90839641d5a086e33eccc 100644 (file)
@@ -78,7 +78,7 @@ fnv_hash_upper(const unsigned char *s, int bits)
 
        while (*s)
        {
-               h ^= ToUpper(*s++);
+               h ^= irctoupper(*s++);
                h += (h<<1) + (h<<4) + (h<<7) + (h << 8) + (h << 24);
        }
        if (bits < 32)
@@ -123,7 +123,7 @@ fnv_hash_upper_len(const unsigned char *s, int bits, int len)
        const unsigned char *x = s + len;
        while (*s && s < x)
        {
-               h ^= ToUpper(*s++);
+               h ^= irctoupper(*s++);
                h += (h<<1) + (h<<4) + (h<<7) + (h << 8) + (h << 24);
        }
        if (bits < 32)