]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Sun, 28 Nov 2004 22:17:52 +0000 (22:17 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 28 Nov 2004 22:17:52 +0000 (22:17 +0000)
libraries/libldap/result.c

index 6ee244e9dd9ea78e9b0c800eb7c9754ff37c1096..527302d97b1fb87d2aa9a9925f2ce9803a7de5ba 100644 (file)
@@ -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",