From: Pierangelo Masarati Date: Sat, 23 Sep 2006 16:10:07 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5385d13bf89dd05da03a2df6e3a0de0385dc2a28;p=openldap fix previous commit --- diff --git a/libraries/librewrite/map.c b/libraries/librewrite/map.c index 0abfd78b91..edae3114f5 100644 --- a/libraries/librewrite/map.c +++ b/libraries/librewrite/map.c @@ -354,7 +354,7 @@ rewrite_map_apply( ( struct rewrite_context * )map->lm_data, key->bv_val, &val->bv_val ); if ( val->bv_val != NULL ) { - if ( val->bv_val = key->bv_val ) { + if ( val->bv_val == key->bv_val ) { val->bv_len = key->bv_len; key->bv_val = NULL; } else {