From: Howard Chu Date: Fri, 18 Aug 2006 01:17:44 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e3e7ed14f0bf965b72a838f36f22d8d07a0db7d;p=openldap Fix prev commit --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 8a2fc55c10..e9e60db17c 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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