From: Howard Chu Date: Tue, 2 Aug 2005 11:24:52 +0000 (+0000) Subject: ITS#3578 increment parent's referral count X-Git-Tag: OPENLDAP_AC_BP~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=834f1bd253fa312fa008b469ab2e51b22cf269be;p=openldap ITS#3578 increment parent's referral count --- diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 637fbea859..12fc3af447 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -263,7 +263,7 @@ ldap_send_server_request( ++parentreq->lr_outrefcnt; } lr->lr_origid = parentreq->lr_origid; - lr->lr_parentcnt = parentreq->lr_parentcnt + 1; + lr->lr_parentcnt = ++parentreq->lr_parentcnt; lr->lr_parent = parentreq; lr->lr_refnext = parentreq->lr_child; parentreq->lr_child = lr;