]> git.sur5r.net Git - openldap/commitdiff
fix = vs == bug
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:06:58 +0000 (01:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:06:58 +0000 (01:06 +0000)
libraries/libldap/getdn.c

index 01852c6ef89d627b1c900292c286018140290f50..e711b0028f483357b4ebbcfd677d046bc3a49316 100644 (file)
@@ -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)