From: Kurt Zeilenga Date: Sun, 28 Nov 2004 22:17:52 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~191 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39b20e2e5db4e460a7c9cc90c05b00350689a6de;p=openldap cleanup --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index 6ee244e9dd..527302d97b 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -671,15 +671,18 @@ Debug( LDAP_DEBUG_TRACE, /* Check if all requests are finished, lr is now parent */ tmplr = lr; if (tmplr->lr_status == LDAP_REQST_COMPLETED) { - for(tmplr=lr->lr_child; tmplr != NULL; tmplr=tmplr->lr_refnext) { - if( tmplr->lr_status != LDAP_REQST_COMPLETED) { - break; - } + for ( tmplr=lr->lr_child; + tmplr != NULL; + tmplr=tmplr->lr_refnext) + { + if( tmplr->lr_status != LDAP_REQST_COMPLETED) break; } } /* This is the parent request if the request has referrals */ - if ( lr->lr_outrefcnt <= 0 && lr->lr_parent == NULL && tmplr == NULL ) { + if ( lr->lr_outrefcnt <= 0 && lr->lr_parent == NULL && + tmplr == NULL ) + { id = lr->lr_msgid; tag = lr->lr_res_msgtype; Debug( LDAP_DEBUG_ANY, "request %ld done\n",