Fix prev commit

This commit is contained in:
Howard Chu 2006-08-18 01:17:44 +00:00
parent 9c52a2c4ff
commit 2e3e7ed14f

View File

@ -733,7 +733,7 @@ connection_destroy( Connection *c )
ber_sockbuf_ctrl( sb, LBER_SB_OPT_GET_FD, &sd );
slapd_sd_lock();
ber_sockbuf_ctrl( c->c_sb, LBER_SB_OPT_SET_FD, &inval );
ber_sockbuf_ctrl( sb, LBER_SB_OPT_SET_FD, &inval );
ber_sockbuf_free( sb );
/* c must be fully reset by this point; when we call slapd_remove