version 1.77, 2005/04/24 22:07:26
|
version 1.78, 2005/04/24 22:38:37
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.76 2005/04/24 21:20:15 hyc Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.77 2005/04/24 22:07:26 hyc Exp $ */ |
/* syncprov.c - syncrepl provider */ |
/* syncprov.c - syncrepl provider */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
Line 841 syncprov_sendresp( Operation *op, opcook
|
Line 841 syncprov_sendresp( Operation *op, opcook
|
op->o_tmpfree( rs.sr_ctrls[0], op->o_tmpmemctx ); |
op->o_tmpfree( rs.sr_ctrls[0], op->o_tmpmemctx ); |
op->o_private = sop.o_private; |
op->o_private = sop.o_private; |
rs.sr_ctrls = NULL; |
rs.sr_ctrls = NULL; |
|
/* Check queue again here; if we were hanging in a send and eventually |
|
* recovered, there may be more to send now. |
|
*/ |
|
if ( rs.sr_err == LDAP_SUCCESS && queue && so->s_res ) { |
|
ldap_pvt_thread_mutex_lock( &so->s_mutex ); |
|
rs.sr_err = syncprov_qplay( &sop, on, so ); |
|
ldap_pvt_thread_mutex_unlock( &so->s_mutex ); |
|
} |
return rs.sr_err; |
return rs.sr_err; |
} |
} |
|
|