summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/pblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/slapd/pblock.c')
-rw-r--r--ldap/servers/slapd/pblock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ldap/servers/slapd/pblock.c b/ldap/servers/slapd/pblock.c
index b6076b35..4d3b13b5 100644
--- a/ldap/servers/slapd/pblock.c
+++ b/ldap/servers/slapd/pblock.c
@@ -96,6 +96,16 @@ slapi_pblock_new()
}
void
+slapi_pblock_init( Slapi_PBlock *pb )
+{
+ if(pb!=NULL)
+ {
+ pblock_done(pb);
+ pblock_init(pb);
+ }
+}
+
+void
pblock_done( Slapi_PBlock *pb )
{
if(pb->pb_op!=NULL)