From: Kurt Zeilenga Date: Thu, 27 Mar 2003 18:11:18 +0000 (+0000) Subject: Also fix -MM, -CC, etc.. X-Git-Tag: NO_SLAP_OP_BLOCKS~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f5163e602365e3da8c48f801fe85e9b64a44e92;p=openldap Also fix -MM, -CC, etc.. --- diff --git a/clients/tools/common.c b/clients/tools/common.c index 10fa47a834..880a6b8381 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -114,10 +114,10 @@ tool_args( int argc, char **argv ) char *control, *cvalue; switch( i ) { case 'c': /* continuous operation mode */ - contoper = 1; + contoper++; break; case 'C': - referrals = 1; + referrals++; break; case 'd': debug |= atoi( optarg ); @@ -260,10 +260,10 @@ tool_args( int argc, char **argv ) break; case 'M': /* enable Manage DSA IT */ - manageDSAit = 1; + manageDSAit++; break; case 'n': /* print operations, don't actually do them */ - not = 1; + not++; break; case 'O': #ifdef HAVE_CYRUS_SASL @@ -372,7 +372,7 @@ tool_args( int argc, char **argv ) #endif break; case 'v': /* verbose mode */ - verbose = 1; + verbose++; break; case 'V': /* version */ version++; @@ -389,7 +389,7 @@ tool_args( int argc, char **argv ) passwd.bv_len = strlen( passwd.bv_val ); break; case 'W': - want_bindpw = 1; + want_bindpw++; break; case 'y': pw_file = optarg;