]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/bind.c
Fix LBER_ERROR vs. -1 confusion.
[openldap] / servers / slapd / back-monitor / bind.c
index 83558eba318d54036e771640fa34d5d8e9684083..b57149748fc5f838035e74e8f81638484eb83846 100644 (file)
@@ -1,12 +1,9 @@
 /* bind.c - monitor backend bind routine */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
- * Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
- * 
  * Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
  * 
  * This work has beed deveolped for the OpenLDAP Foundation 
@@ -58,11 +55,13 @@ monitor_back_bind(
                                    
 )
 {
+#if 0  /* not used yet */
        struct monitorinfo      *mi = (struct monitorinfo *) be->be_private;
+#endif
 
 #ifdef NEW_LOGGING
-       LDAP_LOG(( "backend", LDAP_LEVEL_ENTRY,
-               "monitor_back_bind: dn: %s.\n", dn->bv_val ));
+       LDAP_LOG( BACK_MON, ENTRY,
+               "monitor_back_bind: dn: %s.\n", dn->bv_val, 0, 0 );
 #else
        Debug(LDAP_DEBUG_ARGS, "==> monitor_back_bind: dn: %s\n%s%s", 
                        dn->bv_val, "", "");