]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 9 Dec 2004 21:49:24 +0000 (21:49 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 9 Dec 2004 21:49:24 +0000 (21:49 +0000)
servers/slapd/connection.c

index b3d4b2e2bf68211d420b06ca39703a346198b1d8..03b5624f2f583d2377a45d89c9ae3fd2a45a3f14 100644 (file)
@@ -711,8 +711,12 @@ static void connection_abandon( Connection *c )
        /* c_mutex must be locked by caller */
 
        Operation *o, *next, op = {0};
+       Opheader ohdr = {0};
        SlapReply rs = {0};
 
+       op.o_hdr = &ohdr;
+       op.o_conn = c;
+       op.o_connid = c->c_connid;
        op.o_tag = LDAP_REQ_ABANDON;
        for ( o = LDAP_STAILQ_FIRST( &c->c_ops ); o; o=next ) {
                next = LDAP_STAILQ_NEXT( o, o_next );