]> 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 ab2576a41733e733dd940da9e6f1004c33b3972a..b57149748fc5f838035e74e8f81638484eb83846 100644 (file)
@@ -1,6 +1,6 @@
 /* bind.c - monitor backend bind routine */
 /*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
@@ -60,8 +60,8 @@ monitor_back_bind(
 #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, "", "");