From 3f32b6fe172bc7bfd34025195ee69838e0b9d07f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 1 Dec 2002 19:07:05 +0000 Subject: [PATCH] put 'break' only at the end of the 'case' --- clients/tools/ldapsearch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ); -- 2.39.5