summaryrefslogtreecommitdiff
path: root/client/mysqladmin.c
diff options
context:
space:
mode:
authorpeter@mysql.com <>2002-12-05 03:55:29 +0300
committerpeter@mysql.com <>2002-12-05 03:55:29 +0300
commit3ee8bee22f2852a4ad23e9f46b71817e5cdec200 (patch)
tree0d1d28ba46e738e0d01fff771cd505a057e5d664 /client/mysqladmin.c
parent0601168d68f751a7b25e79ce364b3f90b4b348fe (diff)
downloadmariadb-git-3ee8bee22f2852a4ad23e9f46b71817e5cdec200.tar.gz
Basically minor code optimizations and cleanups
Diffstat (limited to 'client/mysqladmin.c')
-rw-r--r--client/mysqladmin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqladmin.c b/client/mysqladmin.c
index c4914c38dd7..2c8314d83ca 100644
--- a/client/mysqladmin.c
+++ b/client/mysqladmin.c
@@ -768,9 +768,9 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
return 1;
}
if (argv[1][0])
- make_scrambled_password(crypted_pw,argv[1],(find_type(argv[0],
- &command_typelib,2)==ADMIN_OLD_PASSWORD),
- &rand_st);
+ make_scrambled_password(crypted_pw,argv[1],
+ (find_type(argv[0], &command_typelib, 2) ==
+ ADMIN_OLD_PASSWORD), &rand_st);
else
crypted_pw[0]=0; /* No password */
sprintf(buff,"set password='%s',sql_log_off=0",crypted_pw);