]> git.sur5r.net Git - openldap/commit
ITS#6758 config_build_entry, avoid SlapReply reuse
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 31 Dec 2010 09:02:34 +0000 (09:02 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 31 Dec 2010 09:02:34 +0000 (09:02 +0000)
commitb120b2a05b189bbe5aceaad9b71948664d6cb779
tree802d4b0ad8255af2f1331e29b659629cc0088c3b
parentab1bc728fa56983c44458ece4333ef07bd2e79af
ITS#6758 config_build_entry, avoid SlapReply reuse

Do not use the 'SlapReply *rs' passed to config_build_entry().  Instead
pass a new one to op->o_bd->be_add() and copy the output sr_err to rs.
This takes care of most SlapReply reuse in bconfig.c.
servers/slapd/bconfig.c