diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index 68f69a1418..ff2b3574a8 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -732,6 +732,7 @@ int entry_encode(Entry *e, struct berval *bv) Debug( LDAP_DEBUG_TRACE, "=> entry_encode(0x%08lx): %s\n", (long) e->e_id, e->e_dn, 0 ); + dnlen = e->e_name.bv_len; ndnlen = e->e_nname.bv_len; @@ -782,6 +783,10 @@ int entry_encode(Entry *e, struct berval *bv) } } } + + Debug( LDAP_DEBUG_TRACE, "<= entry_encode(0x%08lx): %s\n", + (long) e->e_id, e->e_dn, 0 ); + return 0; }