From 774467dfa48dea5604aa13ce1358247573dbf79e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 8 Jul 2016 16:50:31 +0000 Subject: -init cfg --- src/cadet/gnunet-service-cadet_peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cadet') 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; -- cgit v1.2.3