summaryrefslogtreecommitdiff
path: root/include/my_getopt.h
diff options
context:
space:
mode:
authorunknown <jani@rhols221.adsl.netsonic.fi>2002-05-15 20:24:00 +0300
committerunknown <jani@rhols221.adsl.netsonic.fi>2002-05-15 20:24:00 +0300
commit89617526c84c6d3e9fc2854ac06e8c0b1a543437 (patch)
treeee75aee2ff5951395c94fffc89097299f10f9e21 /include/my_getopt.h
parentdc2b6e456fb16685a4191537bf83e1161cb28d93 (diff)
downloadmariadb-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 'include/my_getopt.h')
-rw-r--r--include/my_getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index d3644daff36..ae12e921aa0 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -17,7 +17,7 @@
C_MODE_START
enum get_opt_var_type { GET_NO_ARG, GET_BOOL, GET_INT, GET_UINT, GET_LONG,
- GET_ULONG, GET_LL, GET_ULL, GET_STR, GET_STRALC };
+ GET_ULONG, GET_LL, GET_ULL, GET_STR, GET_STR_ALLOC };
enum get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG };
struct my_option