]> git.sur5r.net Git - openldap/commitdiff
Return duplicated entry from entry_dup() - interesting that
authorLuke Howard <lukeh@openldap.org>
Sat, 18 Oct 2003 15:07:51 +0000 (15:07 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 18 Oct 2003 15:07:51 +0000 (15:07 +0000)
this was actually working when compiling without optimization

servers/slapd/entry.c

index 835089c6e02878c445f3eb73ae0866d4910ed6f5..35e3cd47dc7a75a3d72d9924d24e2c0ff11b52db 100644 (file)
@@ -760,5 +760,7 @@ Entry *entry_dup( Entry *e )
        ret->e_bv.bv_val = NULL;
        ret->e_bv.bv_len = 0;
        ret->e_private = NULL;
+
+       return ret;
 }