* We have received a 'ClientStartMessage' from a client. Find out which
* type of client it is and notify the respective subsystem.
*
+ * @param cls closure, unused
* @param client handle to the client
* @param message the start message
*/
if (NULL != GSA_stats)
{
GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO);
- GSA_stats = 0;
+ GSA_stats = NULL;
}
}
GAS_reservations_init ();
GAS_performance_init (server);
GAS_scheduling_init (server);
- GAS_addresses_init (cfg);
+ GAS_addresses_init (cfg, GSA_stats);
GNUNET_SERVER_disconnect_notify (server, &client_disconnect_handler, NULL);
GNUNET_SERVER_add_handlers (server, handlers);
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup_task,