]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Import ITS#3578 fix from HEAD
authorHoward Chu <hyc@openldap.org>
Tue, 9 Aug 2005 22:45:05 +0000 (22:45 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 9 Aug 2005 22:45:05 +0000 (22:45 +0000)
libraries/libldap/request.c

index ab0d055b00a10396eeb113aec62d9579ef67672a..a87fe405142b1a8058bec0c17fdb915bc14bc6ee 100644 (file)
@@ -276,7 +276,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;