]> git.sur5r.net Git - openldap/commitdiff
keep attrs count consistent (ITS#6508)
authorPierangelo Masarati <ando@openldap.org>
Thu, 8 Apr 2010 17:24:44 +0000 (17:24 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 8 Apr 2010 17:24:44 +0000 (17:24 +0000)
servers/slapd/overlays/memberof.c

index 3a38b6337336caf4a69710f329c90b5aca1490ac..88637b200fd40d5f11ddba6cbebc544c80ed7d74 100644 (file)
@@ -580,6 +580,7 @@ memberof_op_add( Operation *op, SlapReply *rs )
                                                        sizeof( struct berval ) * ( j - i ) );
                                        }
                                        i--;
+                                       a->a_numvals--;
                                }
                        }