Unbind all connections on shutdown

This commit is contained in:
Howard Chu 2003-11-19 05:23:17 +00:00
parent 91e69fc335
commit a718cb335c

View file

@ -169,6 +169,10 @@ Ri_process(
re = new_re;
rq->rq_unlock( rq );
if ( sglob->slurpd_shutdown ) {
if ( ri->ri_ldp ) {
ldap_unbind( ri->ri_ldp );
ri->ri_ldp = NULL;
}
return 0;
}
}