"Starting service `%s' using binary `%s' and configuration `%s'\n",
sl->name, sl->binary, sl->config);
#endif
- argv_size = 5;
+ argv_size = 6;
if (use_debug)
argv_size += 2;
lopos = loprefix;
argv = GNUNET_malloc (argv_size * sizeof (char *));
argv_size = 0;
lopos = loprefix;
+
while ('\0' != *lopos)
{
while (*lopos == ' ')
sl->pid = GNUNET_OS_start_process_v (firstarg, argv);
GNUNET_free (argv);
GNUNET_free (loprefix);
+ GNUNET_free (options);
}
GNUNET_free (config);
return;
}
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- _("Preparing to start `%s'\n"), servicename);
sl = GNUNET_malloc (sizeof (struct ServiceList));
sl->name = GNUNET_strdup (servicename);
sl->next = running;