{
int *ok = cls;
- fprintf (stderr,
+ FPRINTF (stderr,
"Received NSE message, estimate %f, standard deviation %f.\n",
estimate, std_dev);
/* Fantastic check below. Expect NaN, the only thing not equal to itself. */
p->cfg = GNUNET_CONFIGURATION_create ();
#if START_ARM
p->arm_proc =
- GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm",
+ GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
"gnunet-service-arm",
#if VERBOSE_ARM
"-L", "DEBUG",
GNUNET_PROGRAM_run (5, argv, "test-nse-api", "nohelp", options, &run, &ok);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping arm.\n");
stop_arm (&p1);
+ if (0 != ok)
+ FPRINTF (stderr, "%s", "No information received from NSE service!\n");
return ok;
}