]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/backend.c
Fix access_allowed() error checking bug
[openldap] / servers / slapd / backend.c
index fb1272b4b7d05aac0b92709cc11ec0157a575071..3048dd41bb26e3f411aa4fda2d3676fb0f1b91f7 100644 (file)
@@ -710,9 +710,11 @@ backend_unbind(
                         * FIXME: is this correct?
                         */
 #ifdef NEW_LOGGING
-                       LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Unbind preOps failed\n"));
+                       LDAP_LOG( OPERATION, INFO, "do_bind: Unbind preOps "
+                                       "failed\n", 0, 0, 0);
 #else
-                       Debug (LDAP_DEBUG_TRACE, " Unbind preOps failed.\n", 0, 0, 0);
+                       Debug(LDAP_DEBUG_TRACE, "do_bind: Unbind preOps "
+                                       "failed.\n", 0, 0, 0);
 #endif
                }
 #endif /* defined( LDAP_SLAPI ) */
@@ -732,9 +734,11 @@ backend_unbind(
                         * FIXME: is this correct?
                         */
 #ifdef NEW_LOGGING
-                       LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_unbind: Unbind postOps failed\n"));
+                       LDAP_LOG( OPERATION, INFO, "do_unbind: Unbind postOps "
+                                       "failed\n", 0, 0, 0);
 #else
-                       Debug (LDAP_DEBUG_TRACE, " Unbind postOps failed.\n", 0, 0, 0);
+                       Debug(LDAP_DEBUG_TRACE, "do_unbind: Unbind postOps "
+                                       "failed.\n", 0, 0, 0);
 #endif
                }
 #endif /* defined( LDAP_SLAPI ) */