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 e876ec527f.
This commit is contained in:
Tom Hacohen 2014-08-27 11:48:14 +01:00
parent 38147da036
commit 2f249a6436
1 changed files with 1 additions and 3 deletions

View File

@ -1708,9 +1708,7 @@ _ecore_getopt_parse_arg_long(const Ecore_Getopt *parser,
desc_idx = desc - parser->descs;
value = values + desc_idx;
if (arg_val)
ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
else ret = EINA_FALSE;
ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
if ((!ret) && parser->strict)
return EINA_FALSE;