From: Kurt Zeilenga Date: Mon, 22 Jan 2001 21:25:06 +0000 (+0000) Subject: Fix another typo X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1538 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9e8743215c2a00362e65145aaaa67e30bd83ddbf;p=openldap Fix another typo --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 7a33a04ef9..856c2896e4 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -768,7 +768,7 @@ int ldap_pvt_sasl_secprops( return LDAP_NOT_SUPPORTED; } - if( maxbufsize && (( maxbufsize < SASL_MIN_BUFF_SIZE ) { + if( maxbufsize && (( maxbufsize < SASL_MIN_BUFF_SIZE ) || (maxbufsize > SASL_MAX_BUFF_SIZE ))) { /* bad maxbufsize */