From: Hallvard Furuseth Date: Sat, 20 Feb 1999 16:22:10 +0000 (+0000) Subject: fix TOLOWER, it was equal to TOUPPER X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~556 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19c2a483e6f5407dd8d95f77361c98ac21db8d0a;p=openldap fix TOLOWER, it was equal to TOUPPER --- diff --git a/include/ac/ctype.h b/include/ac/ctype.h index b58d96fc6f..b5638fe97d 100644 --- a/include/ac/ctype.h +++ b/include/ac/ctype.h @@ -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)