]> git.sur5r.net Git - openldap/commitdiff
partial fix to ITS#3659; still problems in merging values with "permissive" set
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Apr 2005 19:55:22 +0000 (19:55 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Apr 2005 19:55:22 +0000 (19:55 +0000)
servers/slapd/overlays/dynlist.c

index 7f7cc287f561eec8bcae9e028488957a830388e1..c417292000929294e4b646338a5a265ea5e761b3 100644 (file)
@@ -211,7 +211,7 @@ dynlist_sc_update( Operation *op, SlapReply *rs )
 
                /* test access to attribute */
                for ( i = 0; !BER_BVISNULL( &a->a_vals[i] ); i++ )
-                       /* jst count */ ;
+                       /* just count */ ;
 
                vals = op->o_tmpalloc( ( i + 1 ) * sizeof( struct berval ), op->o_tmpmemctx );
                if ( a->a_nvals != a->a_vals ) {
@@ -275,7 +275,7 @@ dynlist_send_entry( Operation *op, SlapReply *rs )
        Attribute       *a;
        slap_callback   cb;
        Operation       o = *op;
-       SlapReply       r = *rs;
+       SlapReply       r = { REP_SEARCH };
        struct berval   *url;
        Entry           *e;
        int             e_flags;