]> git.sur5r.net Git - openldap/commitdiff
fix inconsistent indentation
authorPierangelo Masarati <ando@openldap.org>
Sat, 21 May 2005 14:52:19 +0000 (14:52 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 21 May 2005 14:52:19 +0000 (14:52 +0000)
libraries/libldap/result.c

index 851080512bb836123633f4470c48c6685df14776..b8ed64d48fe744d4972153f994246a75d622a52c 100644 (file)
@@ -288,9 +288,10 @@ wait4msg(
                }
 #endif /* LDAP_DEBUG */
 
-        if( (*result = chkResponseList(ld, msgid, all)) != NULL ) {
-            rc = (*result)->lm_msgtype;
-        } else {
+               if ( (*result = chkResponseList(ld, msgid, all)) != NULL ) {
+                       rc = (*result)->lm_msgtype;
+
+               } else {
                        int lc_ready = 0;
 
                        for ( lc = ld->ld_conns; lc != NULL; lc = nextlc ) {
@@ -300,11 +301,11 @@ wait4msg(
                                        rc = try_read1msg( ld, msgid, all, lc->lconn_sb,
                                                &lc, result );
                                        lc_ready = 1;
-                                   break;
+                                       break;
                                }
-               }
+                       }
 
-                   if ( !lc_ready ) {
+                       if ( !lc_ready ) {
                            rc = ldap_int_select( ld, tvp );
 #ifdef LDAP_DEBUG
                            if ( rc == -1 ) {