From 3d7bae58c4b9b128e6000a2fe1fe65595235bb14 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 6 Jul 2016 15:24:26 +0000 Subject: misc fixes --- src/arm/gnunet-service-arm.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/arm') diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index 8bc6e9e07c..4c60897e5b 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c @@ -464,17 +464,17 @@ start_process (struct ServiceList *sl, fin_options = GNUNET_strdup (final_option); /* replace '{}' with service name */ while (NULL != (optpos = strstr (fin_options, "{}"))) - { - /* terminate string at opening parenthesis */ - *optpos = 0; - GNUNET_asprintf (&new_options, - "%s%s%s", - fin_options, - sl->name, - optpos + 2); - GNUNET_free (fin_options); - fin_options = new_options; - } + { + /* terminate string at opening parenthesis */ + *optpos = 0; + GNUNET_asprintf (&new_options, + "%s%s%s", + fin_options, + sl->name, + optpos + 2); + GNUNET_free (fin_options); + fin_options = new_options; + } if (NULL != options) { /* combine "fin_options" with "options" */ -- cgit v1.2.3-18-g5258