From: Kurt Zeilenga Date: Wed, 12 Apr 2000 01:06:58 +0000 (+0000) Subject: fix = vs == bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3108 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=21431725fc4797ed82b9bc1287fcbd92279de9ba;p=openldap fix = vs == bug --- diff --git a/libraries/libldap/getdn.c b/libraries/libldap/getdn.c index 01852c6ef8..e711b0028f 100644 --- a/libraries/libldap/getdn.c +++ b/libraries/libldap/getdn.c @@ -325,7 +325,7 @@ explode_name( const char *name, int notypes, int is_type ) state = INQUOTE; break; case '=': - if( state = OUTQUOTE ) have_equals++; + if( state == OUTQUOTE ) have_equals++; break; case '+': if (is_type == NAME_TYPE_LDAP_RDN)