fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 23 Aug 2010 13:34:30 +0000 (13:34 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 23 Aug 2010 13:34:30 +0000 (13:34 +0000)
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 */