From: Christian Grothoff Date: Fri, 8 Jul 2016 16:50:31 +0000 (+0000) Subject: -init cfg X-Git-Tag: initial-import-from-subversion-38251~575 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=774467dfa48dea5604aa13ce1358247573dbf79e;p=oweals%2Fgnunet.git -init cfg --- diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index 101b9e22a..22a8150c4 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c @@ -557,7 +557,6 @@ core_init (void *cls, const struct GNUNET_CONFIGURATION_Handle *c = cls; static int i = 0; - cfg = c; LOG (GNUNET_ERROR_TYPE_DEBUG, "Core init\n"); if (0 != memcmp (identity, &my_full_id, sizeof (my_full_id))) { @@ -1804,6 +1803,7 @@ GCP_queue_unlock (struct CadetPeer *peer, struct CadetConnection *c) void GCP_init (const struct GNUNET_CONFIGURATION_Handle *c) { + cfg = c; LOG (GNUNET_ERROR_TYPE_DEBUG, "GCP_init\n"); in_shutdown = GNUNET_NO;