[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4302) slapi_send_ldap_result() can not send LDAPControls
--0-177591900-1136411246=:8695
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Actually, the "fix" that I suggested isn't quite right. I think that this one is better.
LDAPControl **old_ctrls;
old_ctrls = rs->sr_ctrls;
slapi_pblock_get(pb, SLAPI_RESCONTROLS, &rs->sr_ctrls);
...
/* At end of function */
rs->sr_ctrls = old_ctrls;
Darin Broady
dbroady1@yahoo.com
--0-177591900-1136411246=:8695
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Actually, the "fix" that I suggested isn't quite right. I think that this one is better.<br><br> LDAPControl **old_ctrls;<br><br> old_ctrls = rs->sr_ctrls;<br> slapi_pblock_get(pb, SLAPI_RESCONTROLS, &rs->sr_ctrls);<br> ...<br> /* At end of function */<br> rs->sr_ctrls = old_ctrls;<br><br><BR><BR>Darin Broady<br>dbroady1@yahoo.com
--0-177591900-1136411246=:8695--