]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/modify.c
Fix startup check
[openldap] / servers / slapd / back-monitor / modify.c
index 4c82fede7ee82df0be0ce0e9fccdefb847d3d52f..9368f27338916ba9797ed59c7f14ca14df41882e 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2003 The OpenLDAP Foundation.
+ * Copyright 2001-2005 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -41,17 +41,12 @@ monitor_back_modify( Operation *op, SlapReply *rs )
        Modifications   *modlist
        */
 {
-       int                     rc = 0;
-       struct monitorinfo      *mi
-               = (struct monitorinfo *) op->o_bd->be_private;
-       Entry                   *matched;
-       Entry                   *e;
+       int             rc = 0;
+       monitor_info_t  *mi = ( monitor_info_t * )op->o_bd->be_private;
+       Entry           *matched;
+       Entry           *e;
 
-#ifdef NEW_LOGGING
-       LDAP_LOG( BACK_MON, ENTRY, "monitor_back_modify: enter\n", 0, 0, 0 );
-#else
        Debug(LDAP_DEBUG_ARGS, "monitor_back_modify:\n", 0, 0, 0);
-#endif
 
        /* acquire and lock entry */
        monitor_cache_dn2entry( op, &op->o_req_ndn, &e, &matched );