From: Kurt Zeilenga Date: Mon, 22 Jan 2001 21:10:54 +0000 (+0000) Subject: Fix typo X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1539 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a4f37d63032f132589825108237d2109f3bb4edb;p=openldap Fix typo --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 1034f2f2a2..b33c08dd6c 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -112,7 +112,7 @@ int slap_sasl_getdn( Connection *conn, char *id, char **dnptr, int flags ) if( flags & FLAG_GETDN_AUTHCID ) { if( sasl_external_x509dn_convert && conn->c_sasl_bind_mech && ( strcasecmp( LDAP_SASL_EXTERNAL, conn->c_sasl_bind_mech ) == 0 ) - && len && dn[0] == '/' and dn[len-1]== '/' ) + && len && dn[0] == '/' && dn[len-1]== '/' ) { /* check SASL external for X.509 style DN and */ /* convert to dn: form */