]> git.sur5r.net Git - openldap/commitdiff
fix TOLOWER, it was equal to TOUPPER
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 20 Feb 1999 16:22:10 +0000 (16:22 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 20 Feb 1999 16:22:10 +0000 (16:22 +0000)
include/ac/ctype.h

index b58d96fc6fddfa55926b6a8797532a713276b9d5..b5638fe97d1eb315d49407283fa7396f0615e285 100644 (file)
@@ -16,7 +16,7 @@
 
 #ifdef C_UPPER_LOWER
 # define TOUPPER(c)    (islower(c) ? toupper(c) : (c))
-# define TOLOWER(c)    (islower(c) ? toupper(c) : (c))
+# define TOLOWER(c)    (isupper(c) ? tolower(c) : (c))
 #else
 # define TOUPPER(c)    toupper(c)
 # define TOLOWER(c)    tolower(c)