- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Starting service using start method\n");
- sctx = GNUNET_SERVICE_start ("test_service", sched, cfg);
- runner (cls, sched, GNUNET_SERVICE_get_server (sctx), cfg);
+
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting service using start method\n");
+ sctx = GNUNET_SERVICE_start ("test_service", cfg);
+ GNUNET_assert (NULL != sctx);
+ runner (cls, GNUNET_SERVICE_get_server (sctx), cfg);