From 9f5163e602365e3da8c48f801fe85e9b64a44e92 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 27 Mar 2003 18:11:18 +0000 Subject: [PATCH] Also fix -MM, -CC, etc.. --- clients/tools/common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; -- 2.39.5