summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2015-02-18 18:38:11 -0600
committerNicolas Williams <nico@cryptonector.com>2015-02-18 18:38:11 -0600
commit3d2ab93b116f966b071e835a6656452cafc61aef (patch)
tree3580b47ab188c68916520ddd1a3d51026cf87939 /main.c
parentc86ef36769a6bec0d77357203d18aa347e16fb1e (diff)
Fix #705 (--argfile weirdness)
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index 76525723..77469a06 100644
--- a/main.c
+++ b/main.c
@@ -316,8 +316,6 @@ int main(int argc, char* argv[]) {
ret = 2;
goto out;
}
- if (jv_get_kind(data) == JV_KIND_ARRAY && jv_array_length(jv_copy(data)) == 1)
- data = jv_array_get(data, 0);
arg = jv_object_set(arg, jv_string("value"), data);
program_arguments = jv_array_append(program_arguments, arg);
i += 2; // skip the next two arguments