]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/collect.c
fix uninitialized bindref_time (found with valgrind)
[openldap] / servers / slapd / overlays / collect.c
index 6c9a2651111aaee276d219384ea3d3c96c93d323..2fc08ed4135d2d5c59502807bf36d998d245e061 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2003-2010 The OpenLDAP Foundation.
+ * Copyright 2003-2011 The OpenLDAP Foundation.
  * Portions Copyright 2003 Howard Chu.
  * All rights reserved.
  *
@@ -386,7 +386,7 @@ collect_response( Operation *op, SlapReply *rs )
                        * don't modify it directly. Make a copy and
                        * work with that instead.
                        */
-                       rs_ensure_entry_modifiable( op, rs, on );
+                       rs_entry2modifiable( op, rs, on );
 
                        /* Loop for each attribute in this collectinfo */
                        for(idx=0; idx<ci->ci_ad_num; idx++) {