static void
-statistics_done_db (void *cls,
+statistics_done_cb (void *cls,
struct
GNUNET_TESTBED_Operation
*op,
GNUNET_TESTBED_operation_done (op);
if (NULL != statistics_file)
fclose (statistics_file);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "got statistics, shutting down\n");
GNUNET_SCHEDULER_shutdown ();
}
statistics_file = fopen (statistics_filename, "w");
GNUNET_TESTBED_get_statistics (num_peers, peers, NULL, NULL,
statistics_cb,
- statistics_done_db,
+ statistics_done_cb,
NULL);
}
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"consensus %d done\n",
- chp - consensus_handles);
+ (int) (chp - consensus_handles));
GNUNET_SCHEDULER_add_now (destroy, *chp);
}
disconnect_adapter(void *cls, void *op_result)
{
/* FIXME: what to do here? */
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "disconnect adapter called\n");
}