Better argfile fix (#705, fix #736)

This commit is contained in:
Nicolas Williams committed 2015-03-24 14:53:35 -05:00
1 parent ffa2832e33
commit 4f8567476d
1 file changed
+1 -1
+1 -1
View File
@@ -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;