summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_getopt.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-22 15:07:21 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-22 15:07:21 +0100
commit50632600e612380bcdc6ab56a48f878536d4c58f (patch)
tree470a4e30b1681f29e5355705466ce629e4a6c984 /src/lib/ecore/ecore_getopt.c
parent41ec0da2aa3be54b117601d9ab3863eff8efe0f1 (diff)
Revert "ecore_getopt - fix arg_val being null"
It's as wrong as the other commit which TAsn already reverted. This needs a fix elsewhere, particularly in the functions that use arg_val. This reverts commit ab539003643540aafe6e6ce09edb2d42d2c67f41.
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 b6d5149bd2..79e09cce75 100644
--- a/src/lib/ecore/ecore_getopt.c
+++ b/src/lib/ecore/ecore_getopt.c
@@ -1705,9 +1705,7 @@ _ecore_getopt_parse_arg_long(const Ecore_Getopt *parser,
1705 1705
1706 desc_idx = desc - parser->descs; 1706 desc_idx = desc - parser->descs;
1707 value = values + desc_idx; 1707 value = values + desc_idx;
1708 if (arg_val) 1708 ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
1709 ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
1710 else ret = EINA_FALSE;
1711 if ((!ret) && parser->strict) 1709 if ((!ret) && parser->strict)
1712 return EINA_FALSE; 1710 return EINA_FALSE;
1713 1711