More Opheader fixes

This commit is contained in:
Howard Chu 2004-11-26 10:10:29 +00:00
parent c2b339d456
commit e6dd9ec8a2
2 changed files with 3 additions and 1 deletions

View File

@ -202,7 +202,7 @@ int passwd_extop(
rs->sr_err = LDAP_OTHER;
} else {
op2.o_hdr = op->o_hdr;
op2 = *op;
op2.o_tag = LDAP_REQ_MODIFY;
op2.o_callback = &cb2;
op2.orm_modlist = qpw->rs_mods;

View File

@ -80,7 +80,9 @@ Filter *
str2filter( const char *str )
{
Operation op = {0};
Opheader ohdr = {0};
op.o_hdr = &ohdr;
op.o_tmpmemctx = NULL;
op.o_tmpmfuncs = &ch_mfuncs;