diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-06 15:24:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-06 15:24:26 +0000 |
commit | 3d7bae58c4b9b128e6000a2fe1fe65595235bb14 (patch) | |
tree | d50cfa569c5d447da5663333e61964c47ac09f73 /src/arm | |
parent | 6cef8fea0c3b6756870786ebc4db0588373c8f65 (diff) | |
download | gnunet-3d7bae58c4b9b128e6000a2fe1fe65595235bb14.tar.gz gnunet-3d7bae58c4b9b128e6000a2fe1fe65595235bb14.zip |
misc fixes
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/gnunet-service-arm.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index 8bc6e9e07..4c60897e5 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c | |||
@@ -464,17 +464,17 @@ start_process (struct ServiceList *sl, | |||
464 | fin_options = GNUNET_strdup (final_option); | 464 | fin_options = GNUNET_strdup (final_option); |
465 | /* replace '{}' with service name */ | 465 | /* replace '{}' with service name */ |
466 | while (NULL != (optpos = strstr (fin_options, "{}"))) | 466 | while (NULL != (optpos = strstr (fin_options, "{}"))) |
467 | { | 467 | { |
468 | /* terminate string at opening parenthesis */ | 468 | /* terminate string at opening parenthesis */ |
469 | *optpos = 0; | 469 | *optpos = 0; |
470 | GNUNET_asprintf (&new_options, | 470 | GNUNET_asprintf (&new_options, |
471 | "%s%s%s", | 471 | "%s%s%s", |
472 | fin_options, | 472 | fin_options, |
473 | sl->name, | 473 | sl->name, |
474 | optpos + 2); | 474 | optpos + 2); |
475 | GNUNET_free (fin_options); | 475 | GNUNET_free (fin_options); |
476 | fin_options = new_options; | 476 | fin_options = new_options; |
477 | } | 477 | } |
478 | if (NULL != options) | 478 | if (NULL != options) |
479 | { | 479 | { |
480 | /* combine "fin_options" with "options" */ | 480 | /* combine "fin_options" with "options" */ |