fix
[oweals/gnunet.git] / src / util / service.c
index fe64ee0dd0858adbcbdc8ecd5a999bfb12d15a5b..48fb59e28e4647119e2f73459ef287b7650b3fe4 100644 (file)
@@ -1548,6 +1548,7 @@ GNUNET_SERVICE_run (int argc,
   sctx.ret = GNUNET_OK;
   sctx.timeout = GNUNET_TIME_UNIT_FOREVER_REL;
   sctx.task = task;
+  sctx.task_cls = task_cls;
   sctx.serviceName = serviceName;
   sctx.cfg = cfg = GNUNET_CONFIGURATION_create ();
   /* setup subsystems */