From: Christian Grothoff Date: Thu, 16 Jun 2011 10:59:18 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~18144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1195c08ebcf55a76f9016bd50d6c0977c451d868;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/service.c b/src/util/service.c index ec9a3bcaf..a82b9d12b 100644 --- a/src/util/service.c +++ b/src/util/service.c @@ -32,6 +32,7 @@ #include "gnunet_getopt_lib.h" #include "gnunet_os_lib.h" #include "gnunet_protocols.h" +#include "gnunet_resolver_service.h" #include "gnunet_server_lib.h" #include "gnunet_service_lib.h" @@ -1338,7 +1339,7 @@ service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) struct GNUNET_SERVICE_Context *sctx = cls; unsigned int i; - GNUNET_RESOLVER_connect (cc->cfg); + GNUNET_RESOLVER_connect (sctx->cfg); if (sctx->lsocks != NULL) sctx->server = GNUNET_SERVER_create_with_sockets (&check_access, sctx,