]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 18 Aug 2006 01:17:44 +0000 (01:17 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 18 Aug 2006 01:17:44 +0000 (01:17 +0000)
servers/slapd/connection.c

index 8a2fc55c10b4d3293a0b55db83a377d7ca48a59f..e9e60db17c687ad972bbe0eb33db695e95eec51e 100644 (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