diff options
author | unknown <jani@rhols221.adsl.netsonic.fi> | 2002-05-15 20:24:00 +0300 |
---|---|---|
committer | unknown <jani@rhols221.adsl.netsonic.fi> | 2002-05-15 20:24:00 +0300 |
commit | 89617526c84c6d3e9fc2854ac06e8c0b1a543437 (patch) | |
tree | ee75aee2ff5951395c94fffc89097299f10f9e21 /client/mysqladmin.c | |
parent | dc2b6e456fb16685a4191537bf83e1161cb28d93 (diff) | |
download | mariadb-git-89617526c84c6d3e9fc2854ac06e8c0b1a543437.tar.gz |
Changed GET_STRALC to GET_STR_ALLOC
mysys/my_getopt.c:
Changed GET_STRALC to GET_STR_ALLOC
Added error checking for my_strdup()
Diffstat (limited to 'client/mysqladmin.c')
-rw-r--r-- | client/mysqladmin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqladmin.c b/client/mysqladmin.c index 6bab465b488..2359c7c54c5 100644 --- a/client/mysqladmin.c +++ b/client/mysqladmin.c @@ -144,7 +144,7 @@ static struct my_option my_long_options[] = #include "sslopt-longopts.h" #ifndef DONT_ALLOW_USER_CHANGE {"user", 'u', "User for login if not current user.", (gptr*) &user, - (gptr*) &user, 0, GET_STRALC, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, + (gptr*) &user, 0, GET_STR_ALLOC, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, #endif {"verbose", 'v', "Write more information.", (gptr*) &opt_verbose, (gptr*) &opt_verbose, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, |