]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bind.c
slapi used the old version of the LDAP_LOG macro (caught by Howard)
[openldap] / servers / slapd / bind.c
index f5062ba5cf0d7694f01a901e000ebc0e630b5bab..c33f82d78b1ad86108214132753fa6434e25b6c6 100644 (file)
@@ -547,9 +547,11 @@ do_bind(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Bind preOps  failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_bind: Bind preOps failed\n",
+                               0, 0, 0);
 #else
-               Debug(LDAP_DEBUG_TRACE, " Bind preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_bind: Bind preOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -630,9 +632,11 @@ do_bind(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Bind postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_bind: Bind postOps failed\n",
+                               0, 0, 0);
 #else
-               Debug (LDAP_DEBUG_TRACE, " Bind postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_bind: Bind postOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */