summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_getopt.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-08-27 11:48:14 +0100
committerTom Hacohen <tom@stosb.com>2014-08-27 11:50:14 +0100
commit2f249a6436580bf9839f409f4c5f224e6b50eba2 (patch)
treeec530112ebe848edf314adfc4b97d35c38748246 /src/lib/ecore/ecore_getopt.c
parent38147da036e2fb58b0bca4eab7e6926858b388b3 (diff)
Revert "ecore_getopt - fix possible null arg"
Breaks getopt completely, try terminology --help. You committing it again doesn't fix the fact it doesn't work. :) This reverts commit e876ec527fd2cd89b01e61e34a9227f38357c25a.
Diffstat (limited to 'src/lib/ecore/ecore_getopt.c')
-rw-r--r--src/lib/ecore/ecore_getopt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/ecore/ecore_getopt.c b/src/lib/ecore/ecore_getopt.c
index d086a67573..d242400db4 100644
--- a/src/lib/ecore/ecore_getopt.c
+++ b/src/lib/ecore/ecore_getopt.c
@@ -1708,9 +1708,7 @@ _ecore_getopt_parse_arg_long(const Ecore_Getopt *parser,
1708 1708
1709 desc_idx = desc - parser->descs; 1709 desc_idx = desc - parser->descs;
1710 value = values + desc_idx; 1710 value = values + desc_idx;
1711 if (arg_val) 1711 ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
1712 ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
1713 else ret = EINA_FALSE;
1714 if ((!ret) && parser->strict) 1712 if ((!ret) && parser->strict)
1715 return EINA_FALSE; 1713 return EINA_FALSE;
1716 1714