From: Pierangelo Masarati Date: Sun, 1 Dec 2002 19:07:05 +0000 (+0000) Subject: put 'break' only at the end of the 'case' X-Git-Tag: NO_SLAP_OP_BLOCKS~746 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f32b6fe172bc7bfd34025195ee69838e0b9d07f;p=openldap put 'break' only at the end of the 'case' --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 4a1d30f064..c3eb3a440e 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -323,7 +323,6 @@ main( int argc, char **argv ) vrFilter = cvalue; version = LDAP_VERSION3; - break; } else if ( strcasecmp( control, "pr" ) == 0 ) { int num, tmp; @@ -341,7 +340,6 @@ main( int argc, char **argv ) } pageSize = (ber_int_t) tmp; pagedResults = 1 + crit; - break; #ifdef LDAP_CONTROL_SUBENTRIES } else if ( strcasecmp( control, "subentries" ) == 0 ) { @@ -359,7 +357,6 @@ main( int argc, char **argv ) return EXIT_FAILURE; } if( crit ) subentries *= -1; - break; #endif } else { @@ -367,6 +364,8 @@ main( int argc, char **argv ) usage(prog); return EXIT_FAILURE; } + break; + case 'f': /* input file */ if( infile != NULL ) { fprintf( stderr, "%s: -f previously specified\n", prog );