diff options
author | monty@hundin.mysql.fi <> | 2002-04-24 15:23:32 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-04-24 15:23:32 +0300 |
commit | 1f5f3612f30d67029fe9cc2ff5d5e44daa5698f2 (patch) | |
tree | 79b32cfbee538d0d4db28eeb309cb763f4772623 /client | |
parent | 3ede1596a06f73060ad3feda16703a87323f3a1f (diff) | |
download | mariadb-git-1f5f3612f30d67029fe9cc2ff5d5e44daa5698f2.tar.gz |
Fixed syntax error in mysql.cc
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 239e624a691..24abefedda3 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 MySQL AB +/* Copyright (C) 2000-2002 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -685,7 +685,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), break; case 'p': if (argument == disabled_my_option) - opt_password= ""; + opt_password= (char*) ""; else { if (argument) @@ -2319,7 +2319,7 @@ com_status(String *buffer __attribute__((unused)), } #ifdef HAVE_OPENSSL if (mysql.net.vio->ssl_ && SSL_get_cipher(mysql.net.vio->ssl_)) - tee_fprintf("SSL cipher in use is %s\n", + tee_fprintf(stdout, "SSL cipher in use is %s\n", SSL_get_cipher(mysql.net.vio->ssl_)); else #endif /* HAVE_OPENSSL */ |