]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/operation.c
ITS#4587: selfwrite access is broken
[openldap] / servers / slapd / back-monitor / operation.c
index f7aa7c6483309e4ab9773acce631a519a88c3181..8488a49bcf333cc0a08ce8c69be21761f1750f96 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2005 The OpenLDAP Foundation.
+ * Copyright 2001-2006 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -189,8 +189,8 @@ monitor_subsys_ops_update(
 {
        monitor_info_t          *mi = ( monitor_info_t * )op->o_bd->be_private;
 
-       ldap_pvt_mp_t           nInitiated,
-                               nCompleted;
+       ldap_pvt_mp_t           nInitiated = LDAP_PVT_MP_INIT,
+                               nCompleted = LDAP_PVT_MP_INIT;
        struct berval           rdn;
        int                     i;
        Attribute               *a;