diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-04 04:34:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-04 04:34:11 +0000 |
commit | bd68fcf94853210cd9c5695c8e35f2df00347807 (patch) | |
tree | f431be47940da319a227261424b68f30257aec9b /src/util/service.c | |
parent | 5573c76556d4b5055a0d55031d36ffe185454f6d (diff) | |
download | gnunet-bd68fcf94853210cd9c5695c8e35f2df00347807.tar.gz gnunet-bd68fcf94853210cd9c5695c8e35f2df00347807.zip |
-fix
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c index b9050f830..6694bee48 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1506,6 +1506,7 @@ service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1506 | 1506 | ||
1507 | if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason)) | 1507 | if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason)) |
1508 | return; | 1508 | return; |
1509 | GNUNET_SPEEDUP_start_ (sctx->cfg); | ||
1509 | GNUNET_RESOLVER_connect (sctx->cfg); | 1510 | GNUNET_RESOLVER_connect (sctx->cfg); |
1510 | if (NULL != sctx->lsocks) | 1511 | if (NULL != sctx->lsocks) |
1511 | sctx->server = | 1512 | sctx->server = |
@@ -1813,7 +1814,6 @@ GNUNET_SERVICE_run (int argc, char *const *argv, const char *service_name, | |||
1813 | /* actually run service */ | 1814 | /* actually run service */ |
1814 | err = 0; | 1815 | err = 0; |
1815 | GNUNET_SCHEDULER_run (&service_task, &sctx); | 1816 | GNUNET_SCHEDULER_run (&service_task, &sctx); |
1816 | GNUNET_SPEEDUP_start_ (cfg); | ||
1817 | /* shutdown */ | 1817 | /* shutdown */ |
1818 | if ((1 == do_daemonize) && (NULL != sctx.server)) | 1818 | if ((1 == do_daemonize) && (NULL != sctx.server)) |
1819 | pid_file_delete (&sctx); | 1819 | pid_file_delete (&sctx); |