diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-16 10:59:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-16 10:59:18 +0000 |
commit | 1195c08ebcf55a76f9016bd50d6c0977c451d868 (patch) | |
tree | df63715ce770f39da9e66f0c4eb814ff96e8bdba | |
parent | 2a9a40d232494f55784de10f2fbdd0c98505f0db (diff) | |
download | gnunet-1195c08ebcf55a76f9016bd50d6c0977c451d868.tar.gz gnunet-1195c08ebcf55a76f9016bd50d6c0977c451d868.zip |
fix
-rw-r--r-- | src/util/service.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
32 | #include "gnunet_getopt_lib.h" | 32 | #include "gnunet_getopt_lib.h" |
33 | #include "gnunet_os_lib.h" | 33 | #include "gnunet_os_lib.h" |
34 | #include "gnunet_protocols.h" | 34 | #include "gnunet_protocols.h" |
35 | #include "gnunet_resolver_service.h" | ||
35 | #include "gnunet_server_lib.h" | 36 | #include "gnunet_server_lib.h" |
36 | #include "gnunet_service_lib.h" | 37 | #include "gnunet_service_lib.h" |
37 | 38 | ||
@@ -1338,7 +1339,7 @@ service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1338 | struct GNUNET_SERVICE_Context *sctx = cls; | 1339 | struct GNUNET_SERVICE_Context *sctx = cls; |
1339 | unsigned int i; | 1340 | unsigned int i; |
1340 | 1341 | ||
1341 | GNUNET_RESOLVER_connect (cc->cfg); | 1342 | GNUNET_RESOLVER_connect (sctx->cfg); |
1342 | if (sctx->lsocks != NULL) | 1343 | if (sctx->lsocks != NULL) |
1343 | sctx->server = GNUNET_SERVER_create_with_sockets (&check_access, | 1344 | sctx->server = GNUNET_SERVER_create_with_sockets (&check_access, |
1344 | sctx, | 1345 | sctx, |