Commit fdc0dd7d authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix some NEW_LOGGING errors

parent fd5b806f
......@@ -100,13 +100,12 @@ access_allowed(
#ifdef NEW_LOGGING
LDAP_LOG(( "acl", LDAP_LEVEL_ENTRY,
"access_allowed: conn %d %s access to \"%s\" \"%s\" requested\n",
conn->c_connid, access2str( access ), e->e_dn, attr ));
"access_allowed: conn %d %s access to \"%s\" \"%s\" requested\n",
conn ? conn->c_connid : -1, access2str( access ), e->e_dn, attr ));
#else
Debug( LDAP_DEBUG_ACL,
"=> access_allowed: %s access to \"%s\" \"%s\" requested\n",
access2str( access ),
e->e_dn, attr );
access2str( access ), e->e_dn, attr );
#endif
if ( op == NULL ) {
......
......@@ -634,8 +634,8 @@ try_again:
#ifdef NEW_LOGGING
LDAP_LOG(( "cache", LDAP_LEVEL_INFO,
"cache_find_entry_dn2id: (%s)%ld not ready: %d\n",
dn, id, state ));
"cache_find_entry_dn2id: (%s) %ld not ready: %d\n",
ndn, id, state ));
#else
Debug(LDAP_DEBUG_TRACE,
"====> cache_find_entry_dn2id(\"%s\"): %ld (not ready) %d\n",
......@@ -656,8 +656,8 @@ try_again:
#ifdef NEW_LOGGING
LDAP_LOG(( "cache", LDAP_LEVEL_DETAIL1,
"cache_find_entry_dn2id: (%s)%ld %d tries\n",
dn, id, count ));
"cache_find_entry_dn2id: (%s): %ld %d tries\n",
ndn, id, count ));
#else
Debug(LDAP_DEBUG_TRACE,
"====> cache_find_entry_dn2id(\"%s\"): %ld (%d tries)\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment