]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Sat, 23 Sep 2006 16:10:07 +0000 (16:10 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 23 Sep 2006 16:10:07 +0000 (16:10 +0000)
libraries/librewrite/map.c

index 0abfd78b91906702ec9abc5dff79e9405c4f6ac6..edae3114f5184290b013f7f318ba66d5a974f351 100644 (file)
@@ -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 {