X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8c6f8c0c60b29b37b685c6216f32a8b2b1ee06a2..3ef25fa9bb8f5f816eed5d830510eb7314d542d4:/src/simix/smx_deployment.c diff --git a/src/simix/smx_deployment.c b/src/simix/smx_deployment.c index d4dac76215..6c7d332644 100644 --- a/src/simix/smx_deployment.c +++ b/src/simix/smx_deployment.c @@ -207,7 +207,7 @@ void SIMIX_process_set_function(const char *process_host, /* add arguments */ xbt_dynar_foreach(arguments, i, arg) { - parse_argv[parse_argc++] = xbt_strdup(arg); + parse_argv[i + 1] = xbt_strdup(arg); } parse_argv[parse_argc] = NULL;