-fix
authorChristian Grothoff <christian@grothoff.org>
Sun, 22 Apr 2012 20:13:48 +0000 (20:13 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 22 Apr 2012 20:13:48 +0000 (20:13 +0000)
src/include/gnunet_service_lib.h
src/util/test_service.c

index ec0c15e1bf6f313b6a8a832972aa8ff0fac89fc5..9ea56eb6b6e33d5a86746a87890d55699b985cd7 100644 (file)
@@ -123,6 +123,9 @@ GNUNET_SERVICE_run (int argc, char *const *argv, const char *service_name,
                     void *task_cls);
 
 
+/**
+ * Opaque handle for a service.
+ */
 struct GNUNET_SERVICE_Context;
 
 /**
index 83fbdec95ce5fb89fbeec384844664d3eeda7deb..9565e0931ed64474e38689750fc222b51d6cf877 100644 (file)
@@ -206,7 +206,7 @@ start_stop_main (void *cls, char *const *args, const char *cfgfile,
   int *ret = cls;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting service using start method\n");
-  sctx = GNUNET_SERVICE_start ("test_service", cfg);
+  sctx = GNUNET_SERVICE_start ("test_service", cfg, GNUNET_SERVICE_OPTION_NONE);
   GNUNET_assert (NULL != sctx);
   runner (cls, GNUNET_SERVICE_get_server (sctx), cfg);
   *ret = 0;