From 21431725fc4797ed82b9bc1287fcbd92279de9ba Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 12 Apr 2000 01:06:58 +0000 Subject: [PATCH] fix = vs == bug --- libraries/libldap/getdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5