]> git.sur5r.net Git - openldap/commitdiff
make logs symmetric
authorPierangelo Masarati <ando@openldap.org>
Wed, 29 Apr 2009 11:36:49 +0000 (11:36 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 29 Apr 2009 11:36:49 +0000 (11:36 +0000)
servers/slapd/entry.c

index 68f69a14186b3de4ef8024cc8ac066c9d7eadbb7..ff2b3574a80478496caf2eb9aa283a0d397b0f6d 100644 (file)
@@ -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;
 }