diff options
-rw-r--r-- | src/arm/gnunet-arm.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index a492fac5b..b960d0292 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -417,7 +417,9 @@ init_callback (void *cls, | |||
417 | 417 | ||
418 | if (GNUNET_ARM_REQUEST_SENT_OK != rs) | 418 | if (GNUNET_ARM_REQUEST_SENT_OK != rs) |
419 | { | 419 | { |
420 | GNUNET_asprintf (&msg, _("Failed to send a request to start the `%s' service: %%s\n"), init); | 420 | GNUNET_asprintf (&msg, |
421 | _("Failed to send a request to start the `%s' service: %%s\n"), | ||
422 | init); | ||
421 | FPRINTF (stdout, msg, req_string (rs)); | 423 | FPRINTF (stdout, msg, req_string (rs)); |
422 | GNUNET_free (msg); | 424 | GNUNET_free (msg); |
423 | GNUNET_SCHEDULER_shutdown (); | 425 | GNUNET_SCHEDULER_shutdown (); |
@@ -436,6 +438,7 @@ init_callback (void *cls, | |||
436 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 438 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
437 | "Service %s [re]started successfully\n", | 439 | "Service %s [re]started successfully\n", |
438 | init); | 440 | init); |
441 | GNUNET_free (init); | ||
439 | init = NULL; | 442 | init = NULL; |
440 | GNUNET_SCHEDULER_add_now (&action_loop, NULL); | 443 | GNUNET_SCHEDULER_add_now (&action_loop, NULL); |
441 | } | 444 | } |
@@ -482,7 +485,9 @@ term_callback (void *cls, | |||
482 | } | 485 | } |
483 | 486 | ||
484 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 487 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
485 | "Service %s stopped successfully\n", term); | 488 | "Service %s stopped successfully\n", |
489 | term); | ||
490 | GNUNET_free (term); | ||
486 | term = NULL; | 491 | term = NULL; |
487 | GNUNET_SCHEDULER_add_now (&action_loop, NULL); | 492 | GNUNET_SCHEDULER_add_now (&action_loop, NULL); |
488 | } | 493 | } |