From 615fea1c5c6e742b6e2c9d7a79a7f76435d0788c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 22 May 2007 05:22:18 +0000 Subject: r23064: Clarify comment and indent (This used to be commit 607e8409f86b28c51a058555021cd45c1cb72a26) --- source4/lib/cmdline/popt_credentials.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'source4/lib/cmdline') diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c index 6f1c40c472..f9a914326f 100644 --- a/source4/lib/cmdline/popt_credentials.c +++ b/source4/lib/cmdline/popt_credentials.c @@ -71,19 +71,19 @@ static void popt_common_credentials_callback(poptContext con, switch(opt->val) { case 'U': - { - char *lp; - - cli_credentials_parse_string(cmdline_credentials, arg, CRED_SPECIFIED); - /* This breaks the abstraction, including the const above */ - if ((lp=strchr_m(arg,'%'))) { - lp[0]='\0'; - lp++; - /* Try to prevent this showing up in ps */ - memset(lp,0,strlen(lp)); - } + { + char *lp; + + cli_credentials_parse_string(cmdline_credentials, arg, CRED_SPECIFIED); + /* This breaks the abstraction, including the const above */ + if ((lp=strchr_m(arg,'%'))) { + lp[0]='\0'; + lp++; + /* Try to prevent this showing up in ps */ + memset(lp,0,strlen(lp)); } - break; + } + break; case OPT_PASSWORD: cli_credentials_set_password(cmdline_credentials, arg, CRED_SPECIFIED); -- cgit