diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-03-24 14:53:35 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2015-03-24 14:53:35 -0500 |
commit | 4f8567476d3a6e8b5b422d05190f777221b984fb (patch) | |
tree | b53bff57143f61b1291259ee1803b395add4c7d1 | |
parent | ffa2832e3345c7a405dfaabf1deb923c07d2627c (diff) |
Better argfile fix (#705, fix #736)
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -310,7 +310,7 @@ int main(int argc, char* argv[]) { ret = 2; goto out; } - arg = jv_object_set(arg, jv_string("value"), data); + arg = jv_object_set(arg, jv_string("value"), jv_array_get(data, 0)); program_arguments = jv_array_append(program_arguments, arg); i += 2; // skip the next two arguments if (!short_opts) continue; |