diff options
Diffstat (limited to 'src/arm/gnunet-service-arm.c')
-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" */ |